on 04-21-2017 10:22 PM
Hi,
I am trying to convert a string to Datetime using DateTime(). This string contains value as '2017-01-13Z'. When I try to convert this string to DateTime using conversion function DateTime('2017-01-13Z') it returns NULL value. I know Z represents Zero Offset in UTC.
When I am trying to convert a string contains '2017-01-12T' to Datetime using same method, it converts it to datetime successfully.
Strange is, the conversion returns datetime for one instance but fails for another instance. I am not sure if this is related to some datetime setting.
Please suggest.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.