WLJS LogoWLJS Notebook

Now

Now gives a DateObject representing the current moment in time, including date and time.

Examples

Get the current time:

Now
(* DateObject[{2025, 1, 15, 14, 30, 45.123}, "Instant", ...] *)

(* Extract components *)
DateValue[Now, "Hour"]

(* Time arithmetic *)
Now + Quantity[1, "Hours"]

Please visit the official Wolfram Language Reference for more details.

On this page