getDate

Navigation:  Development > Function Reference > Helpers > Date >

getDate

Previous pageReturn to chapter overviewNext page

Return current date.

 

App::Helper('Date')->getDate([Format])
 
We can pass standard format of date() function.

 

See bellow example:

App::Helper('Date')->getDate(); // return 2013-04-14
App::Helper('Date')->getDate('d/m/y'); // return 14/04/13