Date function question - number of seconds after a certain date?

  • Thread starter Thread starter Michael Bourgon
  • Start date Start date
M

Michael Bourgon

I'd like to be able to add the number of seconds to a known date,
giving me the current date. In SQL I'd do this:

select dateadd (second, 1715829, '20040803 14:07:08')

What would the Excel equivalent be?
Many thanks.
 
Hi
try
=A1+1715829/(24*60*60)

where A1 stores your current date/time.
 

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