Time Calculations

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'd like the determine how many minutes into the day for a given date/time
variable. In other words, the value of 04/25/2007 02:00:00 AM would return
120 minutes, which is 2 hours into the day. Any ideas on how I can achieve
this using a function?

Thanks.
 
Greg said:
I'd like the determine how many minutes into the day for a given
date/time variable. In other words, the value of 04/25/2007 02:00:00
AM would return 120 minutes, which is 2 hours into the day. Any ideas
on how I can achieve this using a function?

Thanks.

=DateDiff("n", Date(), Now())
 

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