Ask Reuben 248 - Initializer Rules

Started by Reuben B., October 09, 2024, 02:10:40 AM

Previous topic - Next topic

Reuben B.

In my role I am frequently creating small examples and it used to annoy me that sometimes a date example would have a DATEEDIT widget with a value that defaulted to 31/12/1899 and sometimes it wouldn't.  I had got into the habit of setting the date to TODAY so that when I opened the calendar widget I did not have to scroll through many years to enter a relevant date.  A recent forum post (thank you Benjamin G) sent me off down a rabbit hole that helped to explain why the date variable had the value 31/12/1899 and why sometimes it was NULL.

Read more at https://4js.com/ask-reuben/ig-248/
Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero