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?I assume there will be a date calculation stats from in TW? (JS?)FYI, the way I am using it is to record historical dates without having to use an additional unneeded field.Any help appreciated!Best wishesTT
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?
<$view field="testdate" format="date" template="[UTC]YYYY 0MM 0DD 0hh:0mm:0ss.0XXX" />
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.00I'm not sure why this is the result, but that's what it shows.
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?
Ciao Hans...
I think your general point about bigger date range makes sense, but the absolute extended JS date range is still not astronomical?Best wishesTT
I know I'm probably in the minority, but I think a simple, local-time, user-readable date format would be useful. Like 1815-06-18
40 days from 1860-12-1 : <<daysfrom 1860 12 1 40>>
40 days from 1860-12-1 : 1861-1-10 **
This thread was helpful but I want to point to a simple issue.I want to import Dickens' novel "Great Expectations" edition of 1867.At the moment I will have to create a special date field for that since TW dates start at 1899.That is cumbersome. IMO many users need simple creation dates prior to 1899!TT
Thanks for your concern. But I don't think it is an issue in the particular use case. E.g. excerpts of scripts written in 1957. Works fine. That dating identifies them well without need of an additional field.
User created Tiddler dating would work as normal. I can't see a problem?
In any case, I intended the OP to be about better understanding the limits on dates in TW. I'm interested in that.
Ciao Tony, tx. Good to have a challenge!It got clear its pragmatically an issue for dates prior to 1899. So I will have to add a field for older works.I'm still not bothered for anything after that on creation date. I don't see the problem.Probably my laziness to never do anything a different way IF you can do it with existing tools.Best wishesTT
Ciao Mark & all
Mark S. wrote:I feel that the date filter operators inside of TW were made for the internal needs of TW, notnecessarily for the general user. The 1899 limitation is just one case in point. There's nothing in the core,for instance, that would allow you to calculate all the dates in a 10 day range, or tocalculate the difference between two dates.
Okay. This is the likeliest explanation of why the OP arose in the first place.So its one of those things we can address in TW (say through Mark S' good approach at https://marxsal.github.io/various/playground.html#Date%20Conversion%20Macros).But how would a social historian get to know it existed & use it?ThoughtsTT