TOC : Script API > JavaScript > JavaScript API > GeneralScript > Global > Method >

 

_FormatDate

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

TOC : Script API > JavaScript > JavaScript API > GeneralScript > Global > Method >

 

_FormatDate

 

 

Format a date into a string value with a specified format.

 

 

 

Prototype :

 

string _FormatDate

(

        double Date,

        string DateFormat

)

 

 

 

Arguments :

 

Date

date value

DateFormat

date format

 

 

 

Example :

 

var d = _FormatDate(1236729600000, "yyyy-MM-dd");

 

 

 

Available Events :

 

All Events