I would like the Date field to be shown in just date current it is showing both date and time.
I have tried to format (‘MM/DD/YYYY’) however this does not seem to work.
Format Sharepoint Date Column
jktodd007
#1
jktodd007
#3
OK sorry I didn’t give enough information I am using HTML control to show the date field on another tab and when I do it gives a time on the date. I would like to see the date only.
Thanks
Jennifer
jktodd007
#4
I got the correct java script now it was
var date=new Date (fd.field('Original_x0020_Hire_x0020_Date').value);
var hiredate=((date.getMonth() + 1) + '/' + date.getDate() + '/' + date.getFullYear());
If anyone else needs to do this.