Section2 pages
Date and time
Examples using DateTime objects.
Get todays dateSimple demo outputting today's date. Note: a hash page is rendered once and served from the cache, so new Date() shows the date the page…Compare date field with todays dateSome examples on comparing date fields. Note: the comparison is made once, when the page is rendered, and the cached result is served after…