On Friday, August 13, 2021 at 12:36:11 AM UTC-7 S² wrote:

> I use a created text field 'published', which will be filled with a date.
> (This date can also be in the future)
> format is *T. MMMM JJJJ* - (eg. *7. April 2021* or *13. August 2021*).
>
> 1. How can this be converted into a date format?
>

I have just added a new javascript macro to the TiddlyTools timer package.

https://tiddlytools.com/timer.html#TiddlyTools%2FTime%2FConvertDate

   - To convert a date to a different format, use <<convertdate 
   from:inputdate to:outputformat>>.
   - The input date can use any date format recognized by the Javascript 
   Date.parse() function. Generally this conforms to *ISO 8601 standard 
   date format*. <https://en.wikipedia.org/wiki/ISO_8601>
   - The output format uses TiddlyWiki Date Format codes 
   <https://tiddlywiki.com/#DateFormat>, and defaults to 
   *[UTC]YYYY0MM0DD0hh0mm0ss0XXX*.

enjoy,
-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d477ccc7-c0ca-4c7f-963e-fe819c9b7ec2n%40googlegroups.com.

Reply via email to