jquerydatetime-formatjquery-globalize

Usage of globalize format


I have confused about globalize format d.

What is the usage of Globalize.format(new Date(), 'd').

it returns the current date with label format as month/date/year..


Solution

  • The code you list is returning the date using the Standard Date and Time format 'd'. The 'd', is for short date format. This page MSDN Format page lists different formats.