Return current timestring in given timezone (default: UTC)

time:now($timezone="UTC") : STRING

// time:end_of_day(time:now("PT"))
// #=> "2020-05-23 16:08:30.809281 US/Pacific"

time:now()
#=> "2020-05-23 23:07:58.852348 UTC"

time:now("PST")
#=> "2020-05-23 15:07:56.803272 PST"

# note: invalid timezone creates an error
time:now("BAD Time Zone")

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