<< CL_dat_cal2cjd2 Coordinates and frames CL_dat_cjd2cal >>

celestlab >> Coordinates and frames > CL_dat_cal2str

CL_dat_cal2str

Calendar date to string

Calling Sequence

str = CL_dat_cal2str(cal [[, nd, form]])

Description

Parameters

cal:

Calendar date (3xN or 6xN)

nd:

(optional) Number of digits for the fractional seconds, or -1. Default is 3 (1x1)

form:

(string, optional) Output format: "CL" or "ISO". Default is "CL" (1x1)

str:

(string) Formatted calendar date (1xN)

Authors

See also

Examples

cal = [2012; 1; 1; 23; 59; 59.999];
CL_dat_cal2str(cal)
CL_dat_cal2str(cal, nd = 3, form = "ISO")
CL_dat_cal2str(cal, nd = 0)

Report an issue
<< CL_dat_cal2cjd2 Coordinates and frames CL_dat_cjd2cal >>