[ACFUG Discuss] newbie question: formatting a date variable

2010-10-03 Thread Chris H
I want to format the value of date which is in a variable(date_var) in MM-DD- format and print it in a document. So, if date_var has value Jan 5, 2010 I want that to be printed as 01-05-2010 DateFormat(#date_var#, ' DD,') does not work

Re: [ACFUG Discuss] newbie question: formatting a date variable

2010-10-03 Thread Cody Wehunt
The date mask is wrong for what you describe you are wanting. But try the line below and let us know what you get, errors or output. #DateFormat(date_var, "MM-DD-")# Sent from my iPhone On Oct 3, 2010, at 11:37 PM, Chris H wrote: > I want to format the value of date which is in a variab

Re: [ACFUG Discuss] newbie question: formatting a date variable

2010-10-04 Thread Chris H
s for your advice and time. From: Cody Wehunt To: "discussion@acfug.org" Cc: "discussion@acfug.org" Sent: Sun, October 3, 2010 11:47:12 PM Subject: Re: [ACFUG Discuss] newbie question: formatting a date variable The date mask is wrong