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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Todays date

Status
Not open for further replies.

Verity

Technical User
Feb 15, 2003
1
0
0
GB
Hi. I am a very new user to Pascal. I am using Turbo Pascal. I am trying to put todays date at the top of a page. It's very easy in VBA, I just use the Date() function to return the date. But, I cannot seem to find any reference to a function to do the same in Pascal. Any help would be gratefully received.

 
It's not quite so easy--remember that TP is much older than visual basic.

GetDate(Year, Month, Day, DayOfWeek), then format the results how you want.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top