Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Ask Reuben 248 - Initializer Rules  (Read 195 times)
Reuben B.
Four Js
Posts: 1114


« on: October 09, 2024, 02:10:40 am »

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
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines