+ 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