Member of the time class.
n = datenum(s)
n = datenum(s, pivotyear)
n = datenum(v)
Converts a time in string or vector format to a double-precision, floating-point number. n = datenum(s) is equivalent to n = datenum(s, -1).
| Name | Description |
| s | Specifies a time in string format. |
| pivotyear | Provides additional information about the century if you use the form yy in s. If pivotyear is less than 0, LabVIEW considers s to be a time in the current century. |
| v | Specifies a time in vector format. |
| Name | Description |
| n | Returns the time as a double-precision, floating-point number. |
N = datenum('18-Oct-04', 1900);
N = datenum('18-Oct-04');