Re: slickest way to find out local time zone offset in pure lua?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: slickest way to find out local time zone offset in pure lua?
- From: Robert Raschke <rrlua@...>
- Date: Wed, 5 Mar 2008 09:57:42 +0000
Norman Ramsey writes:
> I'm sure this question has come up many times, but the way I'm doing
> it seems clunky, and I hope someone here has a solution that looks sweet:
> using pure Lua, how can I compute the time difference between local time
> and UCT (sometimes known as universal time or Greenwich Mean Time)?
Using http://luaforge.net/projects/date/ , which is pure Lua:
require "date"
print(date():getbias())
Robby