Now

Now
gives a DateObject representing the current moment in time.

DetailsDetails

  • TimeObject[Now] yields the time without the date.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Find the current date and time:

In[1]:=
Click for copyable input
Out[1]=

Extract the TimeObject from Now:

In[2]:=
Click for copyable input
Out[2]=

Subtract 2 days from the current date and time:

In[3]:=
Click for copyable input
Out[3]=
Introduced in 2014
(10.0)