this putting chrome console:
moment().startof("day").format('mm/dd/yyyy hh:mm:ss') "04/27/2015 00:04:00" why happening??
because mm in hh:mm:ss refers 2 digit month (see docs format()). , in april. :-)
try mm instead.
this putting chrome console:
moment().startof("day").format('mm/dd/yyyy hh:mm:ss') "04/27/2015 00:04:00" why happening??
because mm in hh:mm:ss refers 2 digit month (see docs format()). , in april. :-)
try mm instead.