× Discuss on Template programming, jBASE programming, Enquiries, No-File enquiry, Enquiry routines, Version, Version routines, Menus, Abbriviations, Creating local reference fields, Fast path enquiries, Creating charts and graphs, Generating Reports, Deal slips, Straight through processing, Multi Company and Multi Book setup, Tabbed screens, Composite Screens, T24 API, etc...

Any API to check the date format

  • jayboss
  • jayboss's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 1 month ago #23366 by jayboss
Any API to check the date format was created by jayboss
Hello All,

Is there any API / Function to ensure that given numeric value is a valid date.

Best Regards,

Please Log in or Create an account to join the conversation.

More
4 years 3 weeks ago #23368 by MarkTaylor
Replied by MarkTaylor on topic Any API to check the date format
You can use IN2D
$INSERT I_COMMON
COMI = <InputDate>
CALL IN2D('11', 'D')
IF ETEXT THEN
** Invalid input
END

Please Log in or Create an account to join the conversation.

Time to create page: 0.031 seconds