Thanks for the quick responses. In this case I did indeed use a 4 digit year as 
initial input (always), but still managed to shoot myself with a second 
conversion step. 

Converted my nicely formed input text to dateitems -- all good. Did my addition 
for renewal days to item 3. Check. Then I converted that back to date. Uh oh, 
not check. Should have been long date.

If we had it to do all over again I'd say let's make the function date always 
be the full year and only using the form short date would get you the two digit 
year. Long date would remain unchanged.

Or, ya know, I could just pay better attention! ;)

Mark

 



On Nov 7, 2022, at 3:43 AM, J. Landman Gay via use-livecode 
<use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>> wrote:

That's the centuryCutoff in action, but I think something is amiss since it's 
only supposed to apply to 2-digit years and you supply a 4-digit year.
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to