Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Format$(Date) in Actuate

Status
Not open for further replies.

asrinath

Programmer
Apr 25, 2003
8
US
Hi,

Can someone show me an example of the Format$(Date) command in Actuate? Can I assign the value returned to a variable? If so what should be the datatype?

Please let me know.

Thanks
 
Date$ returns a 10-character string in the form mm-dd-yyyy, where mm represents the current month (01-12), dd the day (01-31), and yyyy the year (1980-2036).

You can use the Format$( ) function to format the date numerous ways (ie Format$(Date, "dd/mm/yy"); Format$(Date, "General Date"); etc). As it is a string that is returned, you can use a text control; however, it is usually better to keep dates in date controls.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top