Displaying 20 results from an estimated 7460 matches for "utc".
Did you mean:
etc
2012 Dec 13
3
subsetting time series
Hello,
my series of dates look like
[1] "2012-05-30 18:30:00 UTC" "2012-05-30 19:30:00 UTC"
[3] "2012-05-30 20:30:00 UTC" "2012-05-30 21:30:00 UTC"
[5] "2012-05-30 22:30:00 UTC" "2012-05-30 23:30:00 UTC"
[7] "2012-05-31 00:30:00 UTC" "2012-05-31 01:30:00 UTC"
[9] "2012-05-31...
2012 Jan 23
3
conversion of string
I new in R programming language.
I have some time data
time
[1] "2005-01-03 05:11:39 UTC" "2005-01-03 06:36:02 UTC" "2005-01-03
06:36:55 UTC"
[4] "2005-01-03 06:37:00 UTC" "2005-01-03 06:38:04 UTC" "2005-01-03
06:38:04 UTC"
[7] "2005-01-03 06:38:04 UTC" "2005-01-03 06:38:04 UTC" "2005-01-03
06:38:05 UTC&q...
2011 Apr 06
1
Problem to convert date to number
...sers,
I have a maybe small problem which I cannot solve by myself.
I want to convert
"chron" "dates" "times"
(04/30/06 11:35:00)
to a number with as.POSIXct.
The Problem is that I can't choose different timezones. I always get "CEST"
and not "UTC" what I need.
date = as.POSIXct(y,tz="UTC")
"2006-04-30 11:35:00 CEST"
Then I tried to use as.POSIXlt.
date = as.POSIXlt(y,tz="UTC")
"2006-04-30 11:35:00 UTC"
The advantage is I get time in UTC but now the problem is that I can
calculate numbers....
2018 Jan 07
1
foverlaps data.table error
Hello All
Have 2 tables
dt1:
start end kwh10min
2013-04-01 00:00:54 UTC 2013-04-01 01:00:10 UTC 0.05
2013-04-01 00:40:26 UTC 2013-04-01 00:50:00 UTC 0.1
2013-04-01 02:13:20 UTC 2013-04-01 04:53:42 UTC 0.15
2013-04-02 02:22:00 UTC 2013-04-01 04:33:12 UTC 0.2
2013-04-01 02:26:23 UTC 2013-04-01 04:05:12 UTC 0.25
2013-04-01 02:42:47 UTC 2013-04-01 04:34:33 UTC 0.3
2013-04-...
2013 Apr 17
1
POSIXt oddness at end of 1969
A user here noticed the following difference between Linux and Windows versions
of R-2.15.3 (and R-3.0.0, I think) when using times within a second of the end of 1969:
f <- function (sec = -1)
{
x1 <- as.POSIXct(c(2 * sec, sec, 0), origin = "1970-01-01", tz = "UTC")
x2 <- as.POSIXlt(x1)
x3 <- as.POSIXct(x2, origin = "1970-01-01", tz = "UTC")
list(x1 = x1, x2 = x2, x3 = x3)
}
On Windows I get:
> f(-1)
$x1
[1] "1969-12-31 23:59:58 UTC"
[2] "1969-12-31 23:59:59 UTC"
[3] "1970-01-0...
2006 Mar 07
4
POSIX time zone codes
The manual entry for as.POSIX says this about time zone codes...
Usage
as.POSIXct(x, tz = "")
tz
A timezone specification to be used for the conversion...
but it fails to mention what these "specifications" are. So far, I
have tried...
as.POSIX(x, tz="UTC") ... works, gives UTC times
as.POSIX(x, tz="UTC") ... works, gives EST times
as.POSIX(x, tz="CST") ... does NOT work, gives UTC times
How do I get Central Standard Time or the US? Anybody know what the
code is?
Thanks.
[[alternative HTML version deleted]]
2007 Mar 08
3
using true UTC timezone everywhere
One problem with the daylight savings is that they mess with reporting
tools that use timestamps. I guess an application could be configured to
log UTC instead of local time, but that's not always doable.
Also, if you have servers in several different timezones, it's better if
all systems follow the same clock.
So, I'm thinking it's perhaps better if I just use ZONE="UTC" on all
systems. These are the steps I can think...
2009 Mar 31
2
TimeWithZone seems in rails 2.3 seems broken...is this the correct behavior?
My environment.rb contains
config.time_zone = ''UTC''
If my understanding is correct, rails should assume time values coming
from the database are UTC, and since config.time_zone is set to ''UTC'',
it should not try to convert the times.
Instead, rails is assuming that the db values are Eastern (my local
zone) and is incorr...
2011 Dec 01
3
System Time - UTC and Local Time
I have installed CentOS on a VM by checking 'System Clock uses UTC' option.
Later I selected CST time zone. Now the date command shows UTC time with
CST timezone: "Thu Dec 1 04:14:39 CST 2011". How do I change system
clock to show CST local time? Also, more likely a dumb question but why
isn't date command showing UTC here instead of CST?
jM
2009 Feb 09
3
RSpec Testing ActiveRecord config dependency.
I have the following library code:
def normal_time_now
return DateTime.now.utc if default_timezone == :utc
return DateTime.now
end
This is dependent upon a setting in config/environment.rb
# Make Active Record use UTC-base instead of local time
config.active_record.default_timezone = :utc
I want to test that I get the expected results with the config set to
u...
2017 Jul 11
2
Problems with time formats when importing data using readHTMLTable
...I explain the problem again, now with more
detais.
I am collecting the track positions of our research vessel from
www.marinetraffic.com. In the page, the data appear in a table:
Timestamp Source Speed (kn) Latitude (?) Longitude (?)
Course (?) Show on Map
2017-07-11 10:57 (UTC) Terr-AIS 8.6 37.36228 -9.176811 200
2017-07-11 10:54 (UTC) Terr-AIS 8.4 37.36875 -9.174048 200
2017-07-11 09:50 (UTC) Terr-AIS 8 37.51499 -9.184502 149
2017-07-11 09:08 (UTC) Terr-AIS 7.7 37.60513 -9.228263 169
2017-07-11 09:05 (UTC) Terr-AIS...
2012 Jun 13
0
Weird (?) ActiveSupport::TimeZone parse behaviour
Hi
I must be slipping, but say I have a string that looks like:
3/11/2012 2:50:00 AM
If I use the UTC timezone and ask it to parse this time, what would you
expect the result to be? Personally, I''d say
3/11/2012 2:50:00 AM UTC
Given this is the DST switchover date (for some places) this is an edge
case. It''s the "spring forward" rule so 2:50 AM is 3:50... But not in...
2004 Aug 18
1
Fwd: strptime() problem? - Resolved
Hi Gabor and everybody;
Thanks Gabor, with the alternative step you've told me the problem is
resolved. Comparing the two procedures:
Extract from the source 'character' data:
> rain$ts[2039:2046]
[1] "25/03/2000 22:00:00 UTC" "25/03/2000 23:00:00 UTC"
[3] "26/03/2000 00:00:00 UTC" "26/03/2000 01:00:00 UTC"
[5] "26/03/2000 02:00:00 UTC" "26/03/2000 03:00:00 UTC"
[7] "26/03/2000 04:00:00 UTC" "26/03/2000 05:00:00 UTC"
Proc 1. The 5th el. of the o...
2017 Jul 11
1
Problems with time formats when importing data using readHTMLTable
...>> I am collecting the track positions of our research vessel from
>> www.marinetraffic.com. In the page, the data appear in a table:
>>
>> Timestamp Source Speed (kn) Latitude (?) Longitude (?)
>> Course (?) Show on Map
>> 2017-07-11 10:57 (UTC) Terr-AIS 8.6 37.36228 -9.176811
>> 200
>> 2017-07-11 10:54 (UTC) Terr-AIS 8.4 37.36875 -9.174048
>> 200
>> 2017-07-11 09:50 (UTC) Terr-AIS 8 37.51499 -9.184502
>> 149
>> 2017-07-11 09:08 (UTC) Terr-AIS 7.7 37.6...
2017 Jul 10
2
Problems with time formats when importing data using readHTMLTable
Hi,
I am extracting positions data from the marine traffic website. The
table has a "Timestamp" column which, in the browser, appears with the
format yyyy-mm-dd HH:MM (UTC), e.g. 2017-07-10 14:04 (UTC).
When I import the table, the same date "2017-07-10 14:04 (UTC)" appears
as "1499696500149969650021 minutes ago", This is the more recent date
and time. Older records, as e.g. "2017-07-09 17:02 (UTC)" appear as e.g.
"1499619726149...
2017 Jul 11
0
Problems with time formats when importing data using readHTMLTable
...blem again, now with more detais.
> I am collecting the track positions of our research vessel from www.marinetraffic.com. In the page, the data appear in a table:
>
> Timestamp Source Speed (kn) Latitude (?) Longitude (?) Course (?) Show on Map
> 2017-07-11 10:57 (UTC) Terr-AIS 8.6 37.36228 -9.176811 200
> 2017-07-11 10:54 (UTC) Terr-AIS 8.4 37.36875 -9.174048 200
> 2017-07-11 09:50 (UTC) Terr-AIS 8 37.51499 -9.184502 149
> 2017-07-11 09:08 (UTC) Terr-AIS 7.7 37.60513 -9.228263 169
> 2017-07-11 09:0...
2017 Nov 23
0
RISC-V LLVM sync-up conference calls
...f
> you're looking for support with issues or high level status updates
> it's unlikely to be useful to you.
>
> This may change as we settle in to a "rhythm" and depending on
> people's changing availability, but we're currently alternating
> between 3am UTC and 4pm UTC on Thursdays, with the next call 3am UTC
> on Thursday 16th. Ana Pazos will be hosting this Thursday's call,
> hangout/dial-in details to be confirmed.
The 3am UTC time seems unpopular, so for the time being we're going to
stick with 4pm UTC on a Thursday.
Hangouts URL f...
2006 Jun 07
4
Setting default timezone ENV[''TZ'']=''UTC'' not working on windows?
...some trouble
getting it to work on my Windows machine. Searching the web, I found
http://wiki.rubyonrails.com/rails/pages/HowtoSetDefaultTimeZone
...which explains how to set the default timezone. I''m using an
environment.rb that include the lines:
ActiveRecord::Base.default_timezone = :utc
ENV[''TZ''] = ''US/Eastern''
This works fine on the Unix server running the application (Site5),
where Time.now outputs a UTC time, but on the windows machine the
ENV[''TZ'']=''UTC'' line is either ignored or doesn''t work, be...
2005 Aug 09
1
pdbedit not working as documented
...: -U S-1-5-21-2447931902-1787058256-3961074038-5004
Last login: Mon Aug 8 22:00:37 2005 from 192.168.1.101
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.4-RELEASE (GENERIC) #0: Sun May 8 10:21:06 UTC 2005
smbsvr# pdbedit -V
Version 3.0.12
smbsvr# pdbedit -r Administrator
Unix username: Administrator
NT username:
Account Flags: [U ]
User SID: S-1-5-21-1375268081-527015025-691025275-3006
Primary Group SID: S-1-5-21-1375268081-527015025-691025275-3007
Full Na...
2017 Jul 10
0
Problems with time formats when importing data using readHTMLTable
...ad the documentation for the function you are using? In particular, what about the colClasses argument? If you don't let readHTMLTable guess what the format is (have it read in as character data) then you have a fighting chance to get it right yourself, e.g.
as.POSIXct( "2017-07-10 14:04 (UTC)", format="%Y-%m-%d %H:%M (UTC)", tz="UTC" )
-----
[1] http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
[2] http://adv-r.had.co.nz/Reproducibility.html
[3] https://cran.r-project.org/web/packages/reprex/index.html
--
Sent from my ph...