How to build a date

N

Newbie

Hello,

How can we build a true date when we know the Year, the Month and the Day.
In Excel there is the Date function : Date(Year,Month,Day)
How can we do that within Project VBA ?

Thanks
 
G

Gérard Ducouret

Hello,
Use the DateSerial function :
DateSerial(year, month, day)

Gérard Ducouret
 
Top