ChartDirector 5.1 (PHP Edition)

JsChartViewer.CTime


Usage

CTime(time)

Description

Converts a Javascript Date object to ChartDirector's date/time format.

Note: This is a static method (class method). It should be accessed as JsChartViewer.CTime, not objName.CTime.

Arguments

ArgumentDefaultDescription
time(Mandatory)A Javascript Date object.

Return Value

A number representing dates/time in ChartDirector's date/time format.