Functions§
- date_
to_ epoch - Converts a human-readable date string to epoch time. The input date format should be “YYYY-MM-DD HH:MM:SS”. Returns a Result with the epoch time in seconds or an error if parsing fails.
- epoch_
to_ date - Converts epoch time to a human-readable date string. The output date format will be “YYYY-MM-DD HH:MM:SS”.