I have create a date and time fields in VF Page.It shows correct org time(Australia) in vf page but in Sites its showing different time. How can solve this issues. Please let me know what am I doing wrong here

<apex:inputField value="{!cases.Original_Booking_Date_Time__c}" required="true"/>

VF Page enter image description here

Sitesenter image description here


The first thing to check is the Time Zone of the special User that the Site runs under.

Open your Site's detail page and click "Public Access Settings". Then on the Profile page click "View Users" then click on the single User that appears. Check (and correct if wrong) the Time Zone set for that User (which will have priority for access via the Site).


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.