FoxInCloud
year bisextile
Hi Thierry,
In bootstrap mode, the selection on 29/02/2016 displays the day before. Is there a way out ?
Thanks in advance
modify command abDev.prg
&& replace
m.liMonth = 2, 28
&& by
m.liMonth = 2,; && https://support.west-wind.com/Thread5EH0IIR79.wwt#5EH0IIR7A
Iif(Empty(Left(Dtoc(Ctod(ICase(; && leap year: https://www.tek-tips.com/viewthread.cfm?qid=733848
Left(Set("DATE"),3) $ "AME/USA/MDY",;
"02/29/" + Cast(m.liYear as M),;
Left(Set("DATE"),3) $ "JAP/TAI/YMD",;
Cast(m.liYear as M) + "/02/29",;
"29/02/" + Cast(m.liYear as M);
))), 2));
, 28, 29)
It works perfectly !
Thank you for this great responsiveness
works perfectly but too complex… more simple:
m.liMonth = 2,; && https://support.west-wind.com/Thread5EH0IIR79.wwt#5EH0IIR7A
Iif(Day(Date(m.liYear, 02, 28) + 1) = 29, 29, 28) && leap year?