Skip to content

Documentation: logotimes of type "DAY" are based on year 2000 #16

@SFRailsback

Description

@SFRailsback

Add to the documentation explaining logotimes of type "DAY" that calculations for these variables assume they occur in year 2000, which is a leap year. Therefore (a) if you use time:get or time:show to report the year of a DAY variable, it will report 2000, and (b) calculations using DAY variables assume that February 29th exists.

For example, "time:show (time:plus (time:create "02-28") 1 "DAY") "MM-dd"" reports the result "02-29".
and "time:difference-between (time:create "02-01") (time:create "03-01") "DAY"" reports 29.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions