| Author |
Message |
|
| gar1t |
Posted: Mon Jul 12, 2010 4:46 am |
|
|
|
User
Joined: 11 Aug 2009
Posts: 55
|
I'm getting this:
1> {calendar:now_to_local_time(erlang:now()), erlang:localtime()}.
{{{2010,7,11},{23,36,54}},{{2010,7,11},{23,35,20}}}
erlang:now() is giving a result that's ~90 seconds in the future
(according to the OS clock - e.g. `date`)
I'm running VMWare and `hwclock` gives a "Cannot access the Hardware
Clock via any known method."
The docs state that "some other method" may be used to calculate the
now value if the OS doesn't support epoch time reporting.
Any thoughts on this?
Garrett
________________________________________________________________
erlang-questions (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-questions-unsubscribe@erlang.org
Post received from mailinglist |
|
|
| Back to top |
|
| gar1t |
Posted: Mon Jul 12, 2010 3:08 pm |
|
|
|
User
Joined: 11 Aug 2009
Posts: 55
|
Yah, this was indeed the issue. I wasn't running hwclock as root. The
potential drift between system time and "hardware" clock on VMWare is
pretty awful.
It is somewhat surprising though that calendar and erlang:now/0 use
different sources for their time.
Garrett
On Mon, Jul 12, 2010 at 8:59 AM, Salomon Elizondo <selizondo@gmail.com> wrote:
> double check that your system time is up2date.
> sudo /usr/sbin/ntpdate -u time-a.nist.gov
> sudo /sbin/hwclock --systohc
>
> bug in vmware search "vmware clock drift"
>
>
> On Sun, Jul 11, 2010 at 11:43 PM, Garrett Smith <g@rre.tt> wrote:
>> I'm getting this:
>>
>> 1> {calendar:now_to_local_time(erlang:now()), erlang:localtime()}.
>> {{{2010,7,11},{23,36,54}},{{2010,7,11},{23,35,20}}}
>>
>> erlang:now() is giving a result that's ~90 seconds in the future
>> (according to the OS clock - e.g. `date`)
>>
>> I'm running VMWare and `hwclock` gives a "Cannot access the Hardware
>> Clock via any known method."
>>
>> The docs state that "some other method" may be used to calculate the
>> now value if the OS doesn't support epoch time reporting.
>>
>> Any thoughts on this?
>>
>> Garrett
>>
>> ________________________________________________________________
>> erlang-questions (at) erlang.org mailing list.
>> See http://www.erlang.org/faq.html
>> To unsubscribe; mailto:erlang-questions-unsubscribe@erlang.org
>>
>>
>
________________________________________________________________
erlang-questions (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-questions-unsubscribe@erlang.org
Post received from mailinglist |
|
|
| Back to top |
|
| wuji |
Posted: Wed Sep 19, 2012 3:54 am |
|
|
|
User
Joined: 10 Aug 2012
Posts: 654
|
Washington D.C., State Department spokesman Victoria Nuland acknowledged the case case cheap designer *beep* case of Cao Ruyi."We've seen the reports that a Chinese
is being detained and possibly pressured into a forced abortion abortion [h3]cheap jordan shoes[/h3] abortion by Chinese family planning authorities after purportedly violating China's
policy," she told reporters during a press briefing. "We have have [h3]cheap replica *beep*[/h3] have reached out to the authorities in Beijing to ask
this issue."Nuland reiterated that the U.S. strongly opposes "all aspects aspects cheap replica designer *beep* aspects of China's coercive birth limitation policies," which they have
a serious human rights abuse.Groups from around the world became became replica designer *beep* became involved, including organization such as All Girls Allowed and
Rights in China.Rep. Chris Smith, R-N.J., sent a letter to to jordan 11 to local Changsha officials. The Texas-based group ChinaAid published his |
|
|
| Back to top |
|
| mbtshoes88 |
Posted: Wed Sep 19, 2012 9:21 am |
|
|
|
User
Joined: 18 Sep 2012
Posts: 30
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|