I am using {!Today} in a Custom Email Template and it is showing today's date.

But I need to change the template to VF template and I am getting a error.

Can suggest how can I show today's date without creating any new formula field and populating in the object.

1 Answer 1


In visualforce you need to use {!TODAY()}. Also you can use Year, Month and Day to format it any way you want it. For example:


You can check here for a full list of visualforce functions.

  • but it is showing a full date with time Mon Jul 25 00:00:00 GMT 2016...I just want date Commented Jul 25, 2016 at 10:56
  • @ajaybagdad added an example Commented Jul 25, 2016 at 10:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .