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

Obtain name of weekday through a date in string format

Status
Not open for further replies.

saramaia

Programmer
Aug 5, 2002
61
PT
Hello!!

I´m trying to obtain the day of the week (eg. Monday, Tuesday.. ) giving an argument that is a date but in the string format.

Any idea how I can do this?

I´m trying something like ToDate=("15-11-2002" ,"dd-mm-yyyy"). But when i use the dimension i get the following error: #ERROR

Can anyone help me here?

Thxs
 

From the help on functions:

ToDate(character string, string format)

Description

Applies a date format, specified by the string format, to the character string.

Example

ToDate("10/04/1994", "mm/dd/yy") returns 10/04/1994.

T. Blom
Information analyst
tbl@shimano-eu.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top