Get todays end of day datetime

time:start_of_day(STRING $time="now")

$now = time:now()
#=> "2020-05-23 22:59:36.678149 UTC"

time:convert_timezone($now, "US/Pacific")
#=> "2020-05-23 16:02:06.905761 US/Pacific"


time:start_of_day()
#=> "2020-05-23 00:00:00 UTC"

Copyright ©2013-2022 SunSed®. All rights reserved.