The Date() function is often used in an Init column. This will set the field to the current date the first time the user sees the screen, and is also useful for setting timestamps for when a record was created or modified.
Magic xpa automatically converts the date to the date format set in the Environment dialog box (default), or to the picture of the variable that holds it. If the system date is set to the European format, you can display or print the system date in American format by changing the Date Mode setting in the Environment dialog box, or by defining a suitable picture for the variable that holds the date.
|