Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Displaying a datetime field in a layout page

$
0
0

Hi,

I have region settings set to UTC+10 and some datetime fields that are to be displayed/read only even in edit mode (such as date created, date modified and some custom fields).

When I use DateTimeField the field becomes editable.

When I use FieldValue the date appears to have the timezone applied twice - eg: Aug 1 2013 4:30 PM becomes Aug 2 2013 2:30 AM.

Advice appreciated.

Thanks.


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>