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

Joachim Arrasz info at arrasz.de
Sun Nov 23 19:35:02 CET 2003


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





More information about the opencms-dev mailing list