Isn't unix time independent of timezones (it always uses UTC)?
Can you use it?

$ date +%s

Jussi



On Thu, Jan 31, 2013 at 9:35 AM, Kevin Fishburne <
kevinfishbu...@eightvirtues.com> wrote:

> I have a client/server application in which the server tells the client
> the date and time. The date and time is calculated by the server from an
> arbitrary starting point and at an arbitrary scale, but based on the
> server's system clock so that time still "advances" when the server
> application is not running. The client and server display the date and
> time using code like this:
>
> Format$(CDate(DateCurrent), "mmmm d, yyyy, hh:nn:AM/PM")
>
> I need Gambas to use a specific time zone for the client and server,
> ignoring the system time zone. I've read this:
>
> http://gambasdoc.org/help/doc/locale?v3
>
> Is what I'm trying to do possible? What environment variable should I
> set in Gambas ($LC_ALL, $LANG), and is there an ISO or table of codes to
> choose from? I've looked at ISO 3166 here:
>
> http://en.wikipedia.org/wiki/ISO_3166
>
> Thanks.
>
> --
> Kevin Fishburne
> Eight Virtues
> www: http://sales.eightvirtues.com
> e-mail: sa...@eightvirtues.com
> phone: (770) 853-6271
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_jan
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to