TToD Function |
Namespace: XSharp.VFP
FUNCTION TToD( tExpression AS DateTime ) AS DATE
public static Date TToD( DateTime tExpression )
1STORE DateTime( ) TO gtDtime // Creates a Datetime type memory variable 2CLEAR 3? "gtDtime is type: " 4?? Type('gtDtime') // Displays T, Datetime type value 5gtDtime = TToD(gtDtime) // Converts gtDtime to a date value 6? "gtDtime is now type: " 7?? Type('gtDtime') // Displays D, character type value