Setting the Current Date and Time
To set the current date and time on the router, use the
set datecommand:user@host>set dateYYYYMMDDhhmm.ss
YYYYis the four-digit year,MMis the two-digit month,DDis the two-digit date,hhis the two-digit hour,mmis the two-digit minute, andssis the two-digit second. At a minimum, you must specify the two-digit minute. All other parts of the date and time are optional.For more information, see the JUNOS System Basics Configuration Guide.