similar to: strptime with +03:00 zone designator

Displaying 20 results from an estimated 10000 matches similar to: "strptime with +03:00 zone designator"

2023 Nov 06
1
strptime with +03:00 zone designator
OK, so the consensus is (1) One cannot make strptime accept ISO8601-compliant zone designators (2) The lubridate package can (3) Or one can hack away with regex. Lubridate it is, then. But I do regard strptime's inability to process ISO8601-compliant zone designators as a bug. On Mon, 6 Nov 2023 at 13:18, jim holtman <jholtman at gmail.com> wrote: > try using 'lubridate'
2023 Nov 06
1
strptime with +03:00 zone designator
Thanks to all who replied. On Mon, 6 Nov 2023 at 18:37, Richard O'Keefe <raoknz at gmail.com> wrote: > OK, so the consensus is > (1) One cannot make strptime accept ISO8601-compliant zone designators > (2) The lubridate package can > (3) Or one can hack away with regex. > Lubridate it is, then. > > But I do regard strptime's inability to process
2023 Nov 06
1
strptime with +03:00 zone designator
try using 'lubridate' > library(lubridate)Attaching package: ?lubridate? The following objects are masked from ?package:base?: date, intersect, setdiff, union > x <- "2017-02-28T13:35:00+03:00"> ymd_hms(x)[1] "2017-02-28 10:35:00 UTC" > Thanks Jim Holtman *Data Munger Guru* *What is the problem that you are trying to solve?Tell me what you
2023 Nov 06
2
strptime with +03:00 zone designator
>>>>> Richard O'Keefe >>>>> on Mon, 6 Nov 2023 18:37:34 +1300 writes: > Thanks to all who replied. On Mon, 6 Nov 2023 at 18:37, > Richard O'Keefe <raoknz at gmail.com> wrote: >> OK, so the consensus is (1) One cannot make strptime >> accept ISO8601-compliant zone designators (2) The >> lubridate package
2016 Apr 11
2
Query about use of format in strptime
Dear Jim and dear Enrico, thank you for your replies. Unfortunately your hints didn't solve my problem, and I am getting mad. Can I show you my whole process? I will be as quick as possible. I start from a data frame called Snow of the form year month day hh mm hs 2007 11 19 0 0 0.00 2007 11 19 0 30 0.00 2007 11 19 1 0 0.00 2007 11 19 1 30 0.00 2007 11 19 2 0 0.00 2007 11 19 2 30 0.00 2007 11
2010 Feb 16
3
converting character vector "hh:mm" to chron or strptime 24 clock time vectors
Hi All, I am attempting to work with some data from loggers. I have read in a .csv exported from MS Access that already has my dates and times (in 24 clock format), (with StringsAsFactors=FALSE). > head(tdata) LogData date time 1 77.16 2008/04/24 02:00 2 61.78 2008/04/24 04:00 3 75.44 2008/04/24 06:00 4 89.43 2008/04/24
2016 Apr 11
0
Query about use of format in strptime
Hi Stefano, As the help page says: "The default for the format methods is "%Y-%m-%d %H:%M:%S" if any element has a time component which is not midnight, and "%Y-%m-%d" otherwise. This is because when the result is printed, it uses the default format. If you want a specified output representation: format(strptime(init_day, format="%Y-%m-%d-%H-%M"),"%Y-%M-%d
2016 Apr 11
3
Query about use of format in strptime
Dear R-list users, I need to use strptime because I have to deal with date with hours and minutes. I read the manual for strptime and I also looked at many examples, but when I try to apply it to my code, I always encounter some problems. I try to change the default format, with no success. Why? How can I change the format? 1. init_day <- as.factor("2015-02-24-00-30")
2005 May 30
3
?strptime ambiguity (PR#7907)
Full_Name: Tobias Verbeke Version: 2.1.0 OS: GNU/Linux Submission from: (NULL) (81.247.252.229) Would it be possible to use a non-ambiguous example of expressing a day according to the ISO 8601 international standard in the first sentence of the Note section of ?strptime, e.g. "2001-04-18" instead of "2001-02-03" ? Yours, Tobias
2014 Sep 25
2
Campo Fecha y paquete openair
Estoy trabajando con el paquete openair y leyendo los datos desde un CSV. Entre los campos que estoy levantando existe uno con el formato dd/mm/YYYY hh:mm por ejemplo: 19/02/2014 12:42 pm Cuando quiero consultar por fechas con las funciones del paquete openair datoscont10<-selectByDate(dato$actualizado, start="01/03/2014", end="09/09/2014") me lista el siguiente mensaje:
2014 Sep 25
4
Campo Fecha y paquete openair
Eduardo, Me parece que el problema es el locale para TIME y la interpretación de %p, para no tener ese problema lo que tengo que hacer en mi caso es cambiar LC_TIME: > Sys.getlocale() [1] "LC_COLLATE=Spanish_Argentina.1252;LC_CTYPE=Spanish_Argentina.1252;LC_MONETARY=Spanish_Argentina.1252;LC_NUMERIC=C;LC_TIME=Spanish_Argentina.1252" > Sys.setlocale("LC_TIME",
2014 Sep 25
4
Campo Fecha y paquete openair
Sorry, la función por el formato que tienen tus fechas debe de ser "dmy_hms()"... Saludos, Carlos Ortega www.qualityexcellence.es El 25 de septiembre de 2014, 18:14, Eduardo Bieñkowski <edukoski en gmail.com> escribió: > Si lo proceso con date<-ymd_hms(dato$actualizado) no me da error pero la > transformación no es la correcta > > > head(dato$actualizado) >
2013 Jan 23
3
footnote:id, colons and jquery
I just received a [bug report] for Python-Markdown complaining that colons are used in the ids of footnotes. For reference, we [output] the same format at PHP Markdown Extra. The general complaint is that the colon in the id attribute (`id="fnref:1"`) causes jquery to choke when referencing that id from javascript because jquery uses colons to indicate pseudo elements (as does CSS). As
2011 Mar 10
1
Timezone issue with strftime/strptime and %z and %Z
Hello! I've been trying to get this right for quite a while now and fear there is an easy solution I just don't see. I did not have this problem in Linux, and I searched r-help and Google but did not find a solution, but of course I am grateful for and resources I might not have found our not understood yet. I try to parse a time stamp with time zone. I essentially just want to parse the
2010 Jun 03
1
ISO 8601 Weeks/Years on Windows with strptime
Dear R-help, I am working on a R package for public health surveillance where the ISO 8601 representation of dates is of importance. Especially, the ISO Week and ISO Year of a date needs to be extracted. I was quite happy to find all of this implemented in the "Date" class with appropriate calls to strptime/format (using e.g. %G and %V). However, only later I realized that this
2004 Jul 29
3
2 questions : format and hh:mm
Dear R-users, i have two questions : 1- first of all, i wish to know the way to obtain a serie with a format like "00" : ( "01","02","03","04"....) or like postal code ("01100","02222"). for instance, i do : > format(strptime(as.character(c(1:4)),"%H"),"%H") but it sounds complicate and not really
2011 Sep 08
2
help subsetting data based on date AND time
Dear R Community, I am new to R, and have a question that I suspect may be quite simple but is proving a formidable roadblock for me. I have a large data set that includes water-quality measurements collected over many 24-hour periods. The date and time of sample collection are in a combined Date/Time field in the format yyyy-mm-dd hh:mm:ss. I need to be able to subset the data for analysis of
2013 Apr 26
3
converting character matrix to POSIXct matrix
I thought this is a common question but rseek/google searches don't yield any relevant hit. I have a matrix of character strings, which are time stamps, > time.m[1:5,1:5] [,1] [,2] [,3] [,4] [,5] [1,] "08:00:20.799" "08:00:20.799" "08:00:20.799" "08:00:20.799" "08:00:20.799" [2,]
2012 Mar 13
4
Converting factor data into Date-time format
Dear R-user, I have read a dataset from .csv file into R. This dataset includes one column containing some data in 'date and time' format, e.g. 'dd/mm/yyyy hh:mm'. These data were automatically read and saved as 'factor' in R. When I was trying to produce some plots (such as time series) with the above 'date and time' on x-axis, it caused some disodering problem,
2008 May 12
1
Escape characters or replace function
Hello, I need to use the ${DATETIME} macro inside the filename saved by Record, but the colons (':') used in the time interfere with the command (everything after the colon is interpreted as the format I wish to save to): My command is: Record(/path/to/voicemail/${EXTEN}-${DATETIME}-${UNIQUEID}:wav) I need some function to escape the colons inside DATETIME... I'm sure it's