mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 03:57:21 +00:00
Update documentation to fix a mistake with format used by created
and modified
(#7060)
This commit is contained in:
parent
00927d2e13
commit
2fcbf3b521
@ -71,7 +71,7 @@ You can calculate the difference between two dates by doing the following:
|
||||
|
||||
Here is an example of calculating the number of days that passed between creation and last modification of current tiddler:
|
||||
|
||||
* Fields `modified` and `created` contain their respective datetimes in the format `YYYYMMDDHHMMSSmmm` so convert them to timestamps
|
||||
* Fields `modified` and `created` contain their respective datetimes in the format `[UTC]YYYY0MM0DD0hh0mm0ssXXX` so convert them to timestamps
|
||||
* `86400000` is the number of milliseconds in a day (1000 * 60 * 60 * 24)
|
||||
|
||||
<$macrocall $name=".example" n="0" eg="""<$let
|
||||
|
Loading…
Reference in New Issue
Block a user