PRIVATE Get current epoch day (unix_time / number_of_seconds_in_one_day) then rounded down

time:format_unix_day(STRING $time="now") : INT

# note: this function should remain private for SunSed use case.
time:format_unix_day()
#=> 18267

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