Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

now (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the time class.

Syntax

c = now

Description

Generates a floating-point number that represents the current date and time. Use datestr(now) to generate a string that is a readable version of the date and time.

Examples

Outputs

Name Description
c Returns the current date and time as a floating-point number. The integer part of c represents the current date. The fractional part of c represents the current time.

Examples

C = datestr(now)

Related Topics

clock
date
datenum


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit