Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visualforce: How do I print the Current Date?

How do I print the current date on Visualforce?

Stuff like Today(), System.now, doesn't work.

Haven't been able to find any documentation or stackoverflow questions regarding this subject.

like image 649
Gibson Avatar asked Nov 30 '22 15:11

Gibson


1 Answers

Visualforce has Data and Time functions too, you can use {!NOW()} or {!TODAY()}.

For more details go here

like image 185
manubkk Avatar answered Mar 10 '23 22:03

manubkk