open.mp forum
[Plugin] Chrono isn't accepting my parsed datetime... - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10)
--- Thread: [Plugin] Chrono isn't accepting my parsed datetime... (/showthread.php?tid=495)



Chrono isn't accepting my parsed datetime... - Zorono - 2019-04-30

Hello Guys, iam facing some problems with Chrono as it returns invalid timestamp 0 when i was trying to Parse the following:?DateTime: 30-4-2019T16:8:54(ISO6801_FULL_LOCAL)

please some help


RE: Chrono isn't accepting my parsed datetime... - Toretto - 2019-04-30

Try this:
PHP Code:
30-4-2019T16:8:54Z 



RE: Chrono isn't accepting my parsed datetime... - Y_Less - 2019-05-01

Its YYYY-MM-DD, not DD-M-YYY, i.e. 2019-04-30 for the first part.


RE: Chrono isn't accepting my parsed datetime... - Zorono - 2019-05-01

Thanks alot @Y_Less that fixed it as well..


RE: Chrono isn't accepting my parsed datetime... - Toretto - 2019-05-01

My bad I thought both formats were allowed.