Questions tagged [anytime]

The Any+Time™ JavaScript Library includes a highly-customizable, jQuery-compatible datepicker/ timepicker (calendar/ clock widget) and a powerful Date/String parse/format utility.

The Any+Time™ JavaScript Library includes a highly-customizable, jQuery-compatible datepicker/ timepicker (calendar/ clock widget) and a powerful Date/String parse/format utility.

54 questions
6
votes
1 answer

lubridate: how to parse month-year?

I have a column of dates as follows, > mymonth = c('10/2015','11/2016','12/2016') > data <- data_frame(mymonth) > data # A tibble: 3 × 1 mymonth 1 10/2015 2 11/2016 3 12/2016 Here, obviously, my month corresponds to a particular month…
ℕʘʘḆḽḘ
  • 18,566
  • 34
  • 128
  • 235
4
votes
3 answers

Is there JQuery only (without JQuery UI) tag-it like plugin?

I want a JQuery plugin (No JQuery UI dependancy) which is similar in functionality to tag-it plugin. i.e. it should allow user to add new tags, show autocomplete dialog, show tags in box with close button. Main reason I don't want to use JQuery UI…
amitamb
  • 1,067
  • 11
  • 22
4
votes
1 answer

Remove BST and GMT from my data in R and just view the time

I am trying to find the timestamp in R so I used the anytime function as follows: Timestamp = anytime::anytime(paste(Date, Time)) but then I realise that the timestamp has BST and GMT. How can I get my timestamp without GMT or BST? Thank…
N.A.K
  • 35
  • 6
2
votes
2 answers

Using anytime() function in R

I am trying to convert a string of date and time in R using anytime() function. The string have the format 'date-month-year hour-minute-second'. It seems that the anytime() function does not work for a few cases, as shown in the example…
2
votes
1 answer

Creating a POSIX from a character

I am trying to make my water quality sensor data into time-series data for analysis in R. There is one column with date (format m/dd/yyyy) and another with time (hh:mm:ss) I have managed to paste them together into a character vector and then…
BeckyF
  • 91
  • 6
2
votes
1 answer

Issue with the format in anytime package

library("anytime") This works well: anytime("08/24/2014 01:28:00") anytime("2014/08/24 01:28:00") [1] "2014-08-24 00:28:00 NZST" This doesn't: anytime("24/08/2014 01:28:00") anytime("2014/24/08 01:28:00") [1] NA What is the reason for this and…
Edgar Santos
  • 3,426
  • 2
  • 17
  • 29
2
votes
1 answer

Selecting a time period with window in R; format "dd/mm/yyyy h:m:s" (Windows 7)

I have the following problem. I wanted to use the following code to select a specific time period for daily data, for instance this one: window(Modellwind.zoo, start = as.Date("01/Jan/2001 12:00:00"), end = as.Date("4/Jan/2001 12:00:00")) I get the…
Nucore
  • 107
  • 1
  • 13
1
vote
0 answers

Any+Time DatePicker: accept only current and past dates, not future

Might anyone know what I need to add to one of the best calendar widgets out there to disable future dates? $("#div").AnyTime_picker({latest:(new Date())});
user1040259
  • 6,369
  • 13
  • 44
  • 62
1
vote
2 answers

AnyTime date picker not working inside facebox model dialog

Below is the code I am using for facebox with AnyTime Date picker http://www.ama3.com/anytime/ DatePicker does not seem to show when placed inside facebox. I tried changing the z-index for AnyTime however it did not work. AnyTime date picker pops up…
Ayub
  • 599
  • 3
  • 10
  • 24
1
vote
0 answers

Converting char 1:00 to datetime POSIXct 01:00:00 in r

I am trying to convert the character type 1:00 column to POSIXct 01:00:00 using anytime() function from a library anytime. While anytime function does change 01:00 character to 01:00:00 POSIXct, it fails to read 1:00 character with one-digit hour…
Oleole
  • 381
  • 4
  • 21
1
vote
6 answers

get Javascript date formatted as 2011-04-01

I've seen this: how to get formatted date time like 2009-05-29 21:55:57 using javascript? but I do need the 0's before a single digit date(I need 2011-04-01, not 2011-4-1) I don't like to add another unnecessary plugin for this one so if there's a…
corroded
  • 21,406
  • 19
  • 83
  • 132
1
vote
1 answer

How to extract date from the text

I tried to extract a date from the following text. Unfortunately, it keeps giving me warning and the result is NA I have a following text: "IRA-401K Investment Assets Under Management (AUM) As of July 31, 2018 BMG Funds $217,743,573 BMG…
Cricketer
  • 399
  • 1
  • 3
  • 20
1
vote
1 answer

is this a bug in anytime's anydate function?

I'm trying to convert a vector of dates and this is the minimal reproducible example. dates <- c("04-Nov-2013", "20-Jan-2014", "28-Jan-2014", "24-Apr-2014") library(anytime) anydate(dates) My output is: [1] "2013-11-04" NA NA "2014-04-24"…
hackR
  • 1,459
  • 17
  • 26
1
vote
2 answers

AnyTime Picker default values

How to manipulate values that are first generated by AnyTime Picker? For example, I have an input field with AnyTime on it. When I click on that field, it gets populated with current time, and I want it to populate next round hour.
Frane Novakovic
  • 55
  • 1
  • 2
  • 6
1
vote
1 answer

Can not select daylight saving time in AnyTime datepicker

AnyTime datepicker: http://www.ama3.com/anytime/ I am unable to select for example, if I'm in in this timezone: Sun, 29 Mar, 02:00 CET → CEST +1 hour (DST start) UTC+2h I am unable to select 2015 29 march 02:00 I would like to be able to select…
NomenNescio
  • 2,899
  • 8
  • 44
  • 82
1
2 3 4