I want to display only time
value in apex:outputText
.Is there any format to display only time.?
Thanks in advance.
You need to use a apex:param
for that:
<apex:outputText value="The formatted time right now is:
{0,date,HH:mm:ss}">
<apex:param value="{!NOW()}" />
</apex:outputText>
Check this doc: apex:outputText
StartTime__c
value. Better check it without using above solution firstly. And the field should be of type DateTime
of cource, not a Text or something else.
Commented
Sep 9, 2014 at 7:33