Ciao Eric Just a comment back.
In experiments with inserting various kind of dates directly into "raw" tiddlers in TW I found out it is intelligent. If you insert "00000000000000000" (17 zeros in total) TW changes the number to *1899 11 30 00:00:00.00 *exactly as you said. Similarly if you insert "19570000000000000" it will convert appropriately. Best wishes TT On Thursday, 13 February 2020 16:04:43 UTC+1, Eric Shulman wrote: > > On Thursday, February 13, 2020 at 12:12:52 AM UTC-8, TiddlyTweeter wrote: >> >> As part of creating tiddlers in "raw" format for direct insertion into TW >> I am manipulating the "created" date. >> My question is this ... >> >> *What is the EARLIEST date you can enter?* >> >> > Unlike unix dates, which are stored as "seconds since start date" (which > is officially 00:00:00 UTC on 1 January 1970), dates in TW are stored as a > string of zeros representing year, month, day, hour, minutes, seconds, > milliseconds, using zero-padded values with 4-digits for year, 3-digits for > milliseconds, and 2-digits for all other values. Thus, the earliest date > that can be stored is "00000000000000000" (17 zeros in total). > > If you create a tiddler with a field "testdate" containing the above > string of zeros, and then display it using > <$view field="testdate" format="date" template="[UTC]YYYY 0MM 0DD > 0hh:0mm:0ss.0XXX" /> > > The result is: *1899 11 30 00:00:00.00* > > I'm not sure why this is the result, but that's what it shows. > > -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/9c89984f-820e-4501-b540-6fc4ea0b770d%40googlegroups.com.

