- Joined
- Mar 12, 2015
- Messages
- 977
- Likes received
- 193
- Thanks received
- 37
I'm trying to determine if a string represents a valid date.
So, IsDate('01/01/15') returns 1 as expected. IsDate('30/01/15') returns 0 even though it's a valid date.
I'm guessing the locale of the server is US & that's why IsDate is returning 0.
Is there a simple fix to this? I can't change locale or anything like that though.....
So, IsDate('01/01/15') returns 1 as expected. IsDate('30/01/15') returns 0 even though it's a valid date.
I'm guessing the locale of the server is US & that's why IsDate is returning 0.
Is there a simple fix to this? I can't change locale or anything like that though.....