I have date I want time

  • Thread starter Thread starter RPIJG
  • Start date Start date
I have this


Code:
--------------------

Dim strtime As String
strtime = Format(Now, "yy-mm-dd ")
--------------------


but that gives me the date and not the time, what do I need to do to
make this give me the current time?

strtime = Format(Now, "hh:mm")

--ron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top