General developer forum

Transform timestamp to date in Moodle 2.3

 
 
Picture of Patrick Pollet
Re: Transform timestamp to date in Moodle 2.3
 

userdate() is definitively a much better solution since FROM_UNIXTIME is known only on MySQL databases to my knowledge.

Cheers

 
Average of ratings:Useful (1)
Picture of Erik Gotera
Re: Transform timestamp to date in Moodle 2.3
 

Perfect, using userdate () does what I want.
Thank you very much to all.

 
Average of ratings: -