Get the time in seconds since epoch for a date. If date is not provided the current time will be used.
Optional
Get the time in seconds since epoch for a date. If date is not provided the current time will be used.