Link to home
Start Free TrialLog in
Avatar of azxs
azxs

asked on

how do i just insert the date in debug.Print?

how do i do it?
ASKER CERTIFIED SOLUTION
Avatar of Anthony Perkins
Anthony Perkins
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of zblocker
zblocker

Debug.Print Date()

or if you want both date and time:

Debug.Print Now()

Debug.Print Date
Debug.Print Now
Debug.Print Time

You can look up Date, Now, Time in VB Help.
Hi azxs,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept acperkins@devx's comment(s) as an answer.

azxs, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept THIS comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer