import PDFormatStyle
Date().formatted(.yearPeriod())
"2021"
Date().formatted(.monthPeriod())
"2021-12"
Date().formatted(.dayPeriod() )
"2021-12-31"
Date().formatted(.dayPeriod(timezone:"Europe/Prague))
"2021-01-01"
Date().formatted(.hourPeriod())
"15:35"
link |
Stars: 0 |
Last commit: 2 years ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics