Hi moodlers....
I'm building a block using the "$USER-> lastlogin" container, among others. I'm using the following code to format its content:
'<div>'.get_string('lastlogin').'<br>'.userdate($USER->lastlogin).'</div>'
This displays the date in a very long format, example: Sábado, 26 de julio de 2008, 01:38 (My server locale configuration is es_utf8).
I need a shorter format, example: Sáb, 26 de jul de 2008, 01:38 (like the forums lastpost field). Please, What are the format options that I must use in the userdate function? Thanks...
QW