Replies: 2 comments 2 replies
-
Hi, If your date string format is not ISO8601 (i.e. yyyy-mm-dd[T, ]hh:mm:ss+/-hh:mm), I'm afraid you will have to write your own parser and formatter using the There are so many different date formats that I did not want to get into the business of supporting all those different formats. Especially considering how much extra flash memory such functionality would consume. Most of the big date/time libraries targeting desktop environments use formatting specifications using various "%" notations. (Go Lang is a bit weird, and some people like it.) But if you want to build such a date formatter library on top of AceTime, you are totally welcome to do so. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your hints. I notices that I can query |
Beta Was this translation helpful? Give feedback.
-
What would be an easy way to convert a given Date Time string, say "10.04.2019 00:30:00" from Berlin TZ to London TZ, also as a string with the same format?
I know I can use
berlinTime.timeOffset().toMinutes()
,epochSeconds
,berlinTime = ZonedDateTime::forEpochSeconds(epochSeconds, berlinTz)
andberlinTime.printTo()
I currently struggling getting the result formatted into a string.
Beta Was this translation helpful? Give feedback.
All reactions