Question
Accenture Solutions Pvt Ltd
IN
Last activity: 6 Mar 2023 14:00 EST
Date Time property Auto populates time differently for certain years
Hi All,
We are facing a strange issue on one of the Date Time control property. Our requirement was to default the time as 11:59 PM for the dates that is being selected in UI. So for years > 2039 system updates the time as 11:59 but for years <2039 it updates as 12:59 PM.
Solutions tried:
Used FormatDateTime function - have set the default calendar as USDefault
Hardcoded the GMT timings for 11:59 PM
None of them worked.!!
If any one of you have any suggestions on this is much appreciated.
Thanks!