how do u display time and date in a debug.Print?

swerty
swerty used Ask the Experts™
on
is there any in built functions in vb that can display time and date?

is there such thing as
dim t as times

debug.print t

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Senior .Net Consultant
Top Expert 2016
Commented:
debug.print NOW
Debug.Print Date
Debug.Print Now
Debug.Print Time

Try those
Also - you can use FormatDateTime() to change the format of Now()
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

lol I was wondering the same thing.
Same school class perhaps?
Éric MoreauSenior .Net Consultant
Top Expert 2016

Commented:
please maintain

Questions Asked 2
Last 10 Grades Given A  
Question Grading Record 1 Answers Graded / 1 Answers Received
Author of the Year 2009

Commented:
Hi swerty,
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 emoreau's comment(s) as an answer.

swerty, 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

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial