Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot SA-MP Pawn Scripting [Plugin] Chrono isn't accepting my parsed datetime...

 
  • 0 Vote(s) - 0 Average
Plugin Chrono isn't accepting my parsed datetime...
Zorono Away

Burgershot Member
Posts: 7
Threads: 3
Joined: Apr 2019
Reputation: 0
Location: Egypt, Alexandria
#1
2019-04-30, 02:28 PM
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
Toretto
Offline

Moderator

Posts: 40
Threads: 1
Joined: Apr 2019
Reputation: 4
#2
2019-04-30, 10:40 PM (This post was last modified: 2019-04-30, 10:40 PM by Toretto.)
Try this:
PHP Code:
30-4-2019T16:8:54Z 
Y_Less
Offline

Administrator

Posts: 323
Threads: 16
Joined: Feb 2019
Reputation: 90
#3
2019-05-01, 10:06 AM
Its YYYY-MM-DD, not DD-M-YYY, i.e. 2019-04-30 for the first part.
Zorono Away

Burgershot Member
Posts: 7
Threads: 3
Joined: Apr 2019
Reputation: 0
Location: Egypt, Alexandria
#4
2019-05-01, 10:34 AM
Thanks alot @Y_Less that fixed it as well..
Toretto
Offline

Moderator

Posts: 40
Threads: 1
Joined: Apr 2019
Reputation: 4
#5
2019-05-01, 12:34 PM
My bad I thought both formats were allowed.
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode