Marcos Douglas B. Santos
2018-10-14 14:15:24 UTC
Do you know any Pascal lib to parse strings to convert in date/time values?
The user is supposed to type human-friendly values like:
- "day" => trunc(now)
- "day-2" => trunc(now-2)
- "week" => trunc(now-7)
- "yesterday" => trunc(now-1)
- etc...
But they could type even their computer date format or ISO as well.
A lib in C, but very complex:
- https://github.com/gagern/gnulib/blob/master/lib/parse-datetime.y
I would like to start with something simpler, if possible. Thank you.
Best regards,
Marcos Douglas
The user is supposed to type human-friendly values like:
- "day" => trunc(now)
- "day-2" => trunc(now-2)
- "week" => trunc(now-7)
- "yesterday" => trunc(now-1)
- etc...
But they could type even their computer date format or ISO as well.
A lib in C, but very complex:
- https://github.com/gagern/gnulib/blob/master/lib/parse-datetime.y
I would like to start with something simpler, if possible. Thank you.
Best regards,
Marcos Douglas