Obtain Month and Day in Code

  • Thread starter Thread starter mattc66 via AccessMonster.com
  • Start date Start date
M

mattc66 via AccessMonster.com

Hi All,

How would I obtain the current Month and Day in Code.

I want it to be formatted as MMDD.

Thanks
Matt
 
What Brendan's suggested is definitely correct. Exactly where what did you
type, and where did you type it?

--
Doug Steele, Microsoft Access MVP

(no private e-mails, please)


mattc66 via AccessMonster.com said:
When I add that to my code it returns "12:00:00 AM". Are you sure this is
what you type in VB?

Brendan said:
? Format(Date(),"mmdd")
1109
[quoted text clipped - 4 lines]
Thanks
Matt

--
Matt Campbell
mattc (at) saunatec [dot] com

Message posted via AccessMonster.com
 

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

Back
Top