function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

how to retrieve the time from the CreatedDate field of an SObject.



I am retrieving the CreatedDate from Contact object in S-control. but i am getting only date from CreatedDate field. but in database Createddate is stored as in datetime format. but in S-control i am getting only date.


<script type="text/javascript">
function X()




<body onload="X();">


Please help me.


You won't be able through a merge field, try querying the value using the ajax toolkit

You are right, it is in fact a datetime value