This may have been answered in another thread but cannot find it. Code:
Code:
Object oTestView is a cWebView
{ WebProperty=Server }
Property Date pdToday
Object oWebDateForm1 is a cWebDateForm
Set piColumnSpan to 0
Set psLabel to "dateform"
Set pbServerOnChange to True
Procedure OnChange String sNewValue String sOldValue
Forward Send OnChange sNewValue sOldValue
WebSet pdToday of oTestView to sNewValue
End_Procedure
End_Object
Object oButton is a cWebButton
Set psCaption to "button"
Procedure OnClick
Date dToday
WebGet pdToday of oTestView to dToday *** This generates an Invalid Date Error!!!!
End_Procedure
End_Object
End_Object
With some dates you get "Invalid Date" error (i.e. 07/29/2022), with others no error but you get the incorrect date. Error. What is up with that!!!