date format

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,
endDate = Format(Now(), "yyyymmdd") this should retirn 20041101 but it
returns 20043601. What is problem?
Thanks
Jim.
 
You need capital MM for month, lower case is for minutes.
"yyyyMMdd".

*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*
 
Format(Today(), "yyyyMMdd")

ms-help://MS.VSCC.2003/MS.MSDNQTR.2003APR.1033/vblr7/html/vafmtuserdefineddateformats.htm

ShaneB
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top