You need to sign in to do that
Don't have an account?

i created standard account query list in that i added CreatedDate filed and displaying format like this 18/10/2014 10:13 AM but i dont want to display time here please give anybody solution
i created standard account query list in that i added CreatedDate filed and displaying format on vf like this 18/10/2014 10:13 AM but i dont want to display time here please give anybody solution.
Its not very clear what are you asking about but feels like you don't want display the format like you mentioned so you can change the format of your date as:-
Thanks.
You have to use outputtext to display Date or Datetime in given format:
This should display as example: 30-09-2015
Le
i created account list in that list i added createddate field whic is standard field and displaying in vf as 18/10/2014 10:13 AM but here i dont want to display time...i need only like this 18/10/2014
As I understand you want to convert dateTime to date field go through this code: for more detail you can visit this link
https://developer.salesforce.com/forums/?id=906F00000008wFbIAI
Thanks
If you want to avoid date manipulation with Apex, you could also create a custom date formula field and query off that field. Your formula would look like this:
DATEVALUE(CreatedDate)
Then just query off your custom field.
Thanks.