18 lines
391 B
Plaintext
18 lines
391 B
Plaintext
:sig
|
|
u64 time_parse(String time_string)
|
|
|
|
:params
|
|
time_string : a string containing a date and/or time in text form
|
|
return value : the interpreted 'time_string' as a Unix timestamp
|
|
|
|
:see
|
|
>time
|
|
|
|
:content
|
|
Attempts to parse `time_string` into a Unix timestamp.
|
|
|
|
Related:
|
|
|
|
- PHP: `strtotime()` or `DateTimeImmutable` parsing
|
|
- JavaScript / Node.js: `Date.parse()` or date-library parsing helpers
|