Doubt with field of type SharePoint date

1

Is there a way to know in what format the date in the browser will display a field of type SharePoint Date?

This is independent of how the system is configured to show the date.

I want to return the date in the correct format to that field, since a date like 06/02/2017 can show me as 02/06/2017 if I do not know in which way it will show me this date.

Thanks in advance.

    
asked by mslash 18.08.2017 в 16:42
source

2 answers

0

Once you set the date format type on the SharePoint page, it does not change regardless of which browser you use

    
answered by 23.08.2017 в 21:09
0

With momment js you can format the date.

moment (). format ('dddd');

Momment JS

    
answered by 05.02.2018 в 19:31