PDA

View Full Version : Solved: Changing Date Format



mferrisi
04-04-2007, 08:51 AM
Dim iDte As Date

iDte = Date

I created iDte, btu would like the format to be in "YYYY" form.
how do I get the form to change?

thank you,

Matt

mvidas
04-04-2007, 09:04 AM
Matt,

I'm a little confused. Are you thinking of something like:Dim iDte as Long
iDte = Year(Date)?
Matt