Hi,
How to get short date of previous day ?
dim d as date
msgbox(d.ShortDate)
return 10/19/15
But I would like 10/18/15.
Thanks for your Help.
Hi,
How to get short date of previous day ?
dim d as date
msgbox(d.ShortDate)
return 10/19/15
But I would like 10/18/15.
Thanks for your Help.
Pourquoi faire compliquer quand on peut faire simple. (J’ai vraiment l’esprit tordu).
dim d as new date
d.Day=d.day-1
MsgBox(d.shortdate)
retourne 18/10/2015.
MERCI Jean-Paul
don’t forget the keyword “NEW” or you will have an unitialized date object