% include( '/elements/header.html', 'Developer Documentation' ) %> <& /elements/menubar.html, 'Freeside Perl Modules' => $fsurl.'docs/library/FS.html', 'Complete Index' => $fsurl.'docs/library/index.html', &>
FS::Misc::DateTime - Date and time subroutines
use FS::Misc::DateTime qw( parse_datetime );
Parses a date (and possibly time) from the supplied string and returns the date as an integer UNIX timestamp.
Parses TIME as an integer UNIX timestamp and returns a new timestamp with the same date but 23:59:59 for the time.
Parses time as an integer UNIX timestamp and returns the ISO 8601 formatted date and time.