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!

Date to weekday

Status
Not open for further replies.

tj007

IS-IT--Management
Mar 14, 2003
129
0
0
US
Hi

Can I derive a day of the week (e.g. Monday) from a long or short date (e.g. 1/29/2004) in Crystal Reports 8.0?
 
This will get you the weekday name:

@Weekday_Name
Code:
WeekdayName (DayOfWeek ({table.date}))

~Brian
 
In Crystal 8.5, you could also have
Code:
Totext({your.date}, "dddd")

Also ddd for Mon, Tue etc. And lots of other useful options, but I don't know if Crystal 8 allows this.

Madawc Williams
East Anglia, Great Britain
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top