3.2.7 Date2datetime

Description

Convert a double in Julian date format to a system time struct

Syntax

pyDateTime Date2datetime( double dDate )

Parameters

dDate
date-time value to be converted

Return

a struct to receive conversion result

struct pyDateTime
{
	SYSTEMTIME	sysTm;
	int		microSec;
};

Examples

Ex1:

import PyOrigin
dateT = PyOrigin.Date2datetime(2458310.5811)

See Also

datetime2Date