Class type Goog.‚ÄčI18n.‚ÄčdateTimeFormat

class type dateTimeFormat = object..end

method format : 
Js.date Js.t ->
timeZone Js.t Js.opt -> Js.js_string Js.t Js.meth

Format the given date object according to preset pattern and current lcoale. Returns Formatted string for the given date.