p2p.wrox.com Forums

Need to download code?

View our list of code downloads.

  Return to Index  

proasp_codeclinic thread: i need medium date format,,, plz help

Message #1 by "Taher Moiyed" <taherm@f...> on Thu, 7 Jun 2001 10:19:59
thanks very much

-----Original Message-----
From: Jerry Diegel [mailto:jerry.diegel@h...]
Sent: 07 June 2001 14:59
To: Code Clinic
Subject: [proasp_codeclinic] RE: i need medium date format,,, plz help

On your server open the Regional Options in the Control Panel and click the
Date tab.  You will see three sections.  Calender, Short date, and Long
date.  In Long Date change the format to "dd MMM yyyy" and hit ok.  It
wasn't in the drop down on my server so you might have to type it in. After
that the formatedatetime(date,2) should return "11 Aug 2001".

Good Luck,


-----Original Message-----
From: Taher Moiyed [mailto:taherm@f...]
Sent: 07 Jun, 2001 5:20 AM
To: Code Clinic
Subject: [proasp_codeclinic] i need medium date format,,, plz help

i have checked

and have been to msdn website as well.
i have used
formatdatetime (date,0) functions but it still doesnt solve my purpose

formatdatetime (date,0) gives 11/8/2001
formatdatetime (date,1) gives Thrusday 11, august 2001
formatdatetime (date,2) give 11 August 2001

but i want to display 11 Aug 2001 instead of 11 August 2001

plz help me
waiting anxiously for your reply

  Return to Index