DATE$ function

Purpose: DATE$ returns a string containing the system date formatted mm/dd/yy, where mm is two digits representing the month, dd is two digits representing the day, and yy is the last two digits of the year.


 Syntax:

 RetStr$ = DATE$

 Parameters:

  • None.

 Return Value:

  • RetStr$, the return value, is a string containing the system date formatted mm/dd/yy, where mm is two digits representing the month, dd is two digits representing the day, and yy is the last two digits of the year.

BCX Console Sample Programs using DATE$ function.

S30.bas   S31.bas