Announcement

Collapse
No announcement yet.

4D-CD-00023 Designer or ViSi Time and Date Validation

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 4D-CD-00023 Designer or ViSi Time and Date Validation

    This codebase example contains routines for validating time and date information. To keep this example simple, the time and date information is saved into separate variables, which are then passed as parameters to the correct function. There are two functions in the code - isValidDate(...) and isValidTime(...). The former is for validating a date information, and the latter is for validating a time information.

    Instructions:
    1. In the attached Designer 4DGL code, initialize the time and date variables with the desired values. Compile the code and upload the program to the display module.

    2. The screen should now show if the time information and date information are valid.
    Note: For step 1, there are two commented blocks of lines for initializing the time and date variables. Choose one block at a time before compiling. See the video for more details.



    Attached Files
    Doff
Working...
X