Skip to content Skip to sidebar Skip to footer
Showing posts with the label Date Formatting

Why There Is Need To Add 1 To The Month For This Date Conversion?

I have this date variable in javascript $scope.dt and the contents is Tue Jul 08 2014 00:00:00 GMT+… Read more Why There Is Need To Add 1 To The Month For This Date Conversion?

How To Change Date Format Using Jquery/javascript?

Today I want to transfrom date into different format using jQuery/Javascript : $date = '2013-04… Read more How To Change Date Format Using Jquery/javascript?

How To Get Correct Output Of Hour: "2-digit" For Tolocalestring("en-us") With Am/pm?

According to the toLocaleString() MDN Documentation the option hour: '2-digit' should retur… Read more How To Get Correct Output Of Hour: "2-digit" For Tolocalestring("en-us") With Am/pm?