I'm so sorry to waste your time!
I should read the php doc first...
General developer forum
About function userdate() in moodlelib.php
This discussion has been locked so you can no longer reply to it.