日期时间服务

version : 1.0.0

get-current-datetime

Returns the current date and time. Optionally specify a timezone.

timezone(string)

结果(Result)

get-day-of-week

Returns the day of the week for a given date or today.

date(string)

locale(string)

结果(Result)

get-timezone-info

Returns information about the current or specified timezone.

timezone(string)

结果(Result)

format-date

Format a date in various styles (short, medium, long, full).

date(string)

style(string)

locale(string)

结果(Result)