[Seaside] [newbie] How do I get the system date and time?

Bill Holloway holloway at io.com
Mon May 24 17:44:35 CEST 2004


Larry,

Use Time>>dateAndTimeNow.

Bill Holloway


ld said:
> I'm building a simple logging system in Seaside 2.5a3.  When the 'new
> entry' page is opened, the current date and time should be automatically
> inserted.  How do I get the current date and time of the server Squeak
> is running on?
>
> entryTime _ Time new.   returns 12:00 am.
>
> I know there's a simple answer, I just don't seem to find it.
>
> Thanks for your help.
>
> -Larry Kelly
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/listinfo/seaside
>


More information about the Seaside mailing list