### date-and-time

Reports a string containing the current date and time. The format is shown below. All fields are fixed width, so they are always at the same locations in the string. The potential resolution of the clock is milliseconds. (Whether you get resolution that high in practice may vary from system to system, depending on the capabilities of the underlying Java Virtual Machine.)

    show date-and-time
    => "01:19:36.685 PM 19-Sep-2002"

Take me to the full NetLogo Dictionary