[opencms-dev] Meaning of lastLogin in CmsUser...

Ralf B ambiesense at gmx.de
Sun Nov 23 20:20:01 CET 2003


Hello,

yes, it is. My other threat therefore is solved. 50 is obviously a to low
value, since nobody could log in when Jesus was born :-)

Thanks a lot,
Ralf

> HiGregorianC,
> 
> > lastLogin is stored as a long variable withing OpenCMS. Can somebody
> > tell me how the time is encoded as a long. Is it the number of seconds
> > or minutes from the current time? Or is it a translated timestamp into
> > minutes or seconds?
> 
> without a look into the code i suggest that it is a simple
> System.currentTimeMills()
> put it into an GregorianCalendar object and everything is available
> 
> Regards Achim
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
> 

-- 
NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService

Jetzt kostenlos anmelden unter http://www.gmx.net

+++ GMX - die erste Adresse für Mail, Message, More! +++




More information about the opencms-dev mailing list