Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [date]

A date is a reference to a particular day represented within a calendar system, and consists of year, month and day. Use for questions about creating, manipulating and storing date information. Use with any relevant language tags.

date
15,591 questions with no upvoted or accepted answers
13 votes
0 answers
2k views

How to grab dynamic date in SendGrid's Dynamic templates?

How do I get the current year for the Copyright © {{YEAR}} in a SendGrid Dynamic Templates WITHOUT test data? I'm looking for something like {{ formateDate new Date YYYY }} since we want the year to ...
Storm Parker's user avatar
12 votes
0 answers
1k views

camel-mongodb save java.util.Date as ISODate instead of NumberLong

I'm using Apache Camel 2.13.1 and MongoDB 2.2.2. I have the following route: <route id="camel-route" autoStartup="true"> <from uri="file:/dir?move=${date:now:yyyyMMdd}\processed\${file:...
allancth's user avatar
  • 300
11 votes
1 answer
206 views

Issue with Azure mobile service string/date column when queried by app

I have a Mobile Service on Azure and one of my columns (named InputDate) is set as type string. An example value is 2015-07-23T18:00:00Z (ISO 8601 format) However, when I query this table with the ...
xceed's user avatar
  • 111
10 votes
1 answer
414 views

Intl.DateTimeFormat does not output same results on different machines

we have a weird behavior of Intl.DateTimeFormat in our tests (but same in Node or chrome console). This function : Intl.DateTimeFormat('en-AU', { year: 'numeric', month: 'short', day: 'numeric' })....
mate2's user avatar
  • 185
10 votes
0 answers
782 views

How to match dateuilts.rrule and python icalendar daylightsavingtime aware

I'm dealing with some ical problems. I have an ical event. BEGIN:VEVENT UID:Event/termine/gps/[email protected] DTSTART;TZID=CET:20150529T190000 DTEND;TZID=CET:20150529T220000 CATEGORIES:...
Estartu's user avatar
  • 101
9 votes
1 answer
8k views

How to read exif data of movies in Python?

I use exifread (installed with python3 -m pip install exifread) to read EXIF tags from photos. The same camera takes videos with extension .MOV and a Create Date EXIF field that I am able to view with ...
emonigma's user avatar
  • 4,166
8 votes
0 answers
1k views

Is there a way to hide the native Safari and Firefox datepicker

There doesn't seem to be any way to hide the native datepicker from Safari and Firefox. Any ideas? Or should I just scrap the <input type="date" /> and use a normal <input type=&...
Dimitar Nizamov's user avatar
8 votes
0 answers
344 views

What is the difference between local, non-local, and ISO in unicode date fields?

I am using the date-fns library to format a javascript date object to a specific format. date-fns uses the Unicode date field symbols. In this table documenting the symbols, there is a distinction ...
InspectorDanno's user avatar
8 votes
0 answers
7k views

Change date inside container

I have problem with dynamically date change inside container. What I have: docker run -it --privileged myDocker the command above run container with privilege to change date I can change date by: ...
Szymson's user avatar
  • 1,072
8 votes
0 answers
9k views

startOfMonth returns last day of month before

So it's pretty straight forwards: import startOfMonth from 'date-fns/start_of_month'; export const getFirstDayThisMonth = date => { const firstDay = startOfMonth(date); return firstDay; }; ...
MrJalapeno's user avatar
  • 1,652
8 votes
5 answers
6k views

jquery ui multi dates picker data range without weekends

I am using this multidate picker. Is it possible to use date range mode where no weekends would be selected? I have already done multidatepicker where weekends are blocked and where user can select ...
Gasper's user avatar
  • 969
7 votes
0 answers
591 views

JSON (S3) to Redshift, can't load in YYYY-MM-DDTHH24:MI:SSZ into timestamptz column

I am having issues loading a json file (date fields) in my S3 bucket into Redshift via the copy command. The three columns that are problematic look like this... { ... "date":20201209, ...
Jonathan Duran's user avatar
7 votes
0 answers
400 views

Time discrepancy between 'dmesg' and 'date' in Linux

I have some kernel module which prints to log like printk(KERN_INFO "Something\n"); When module was loaded I found that the time in dmesg outruns the current time in date: -bash-4.4$ dmesg -T | ...
red0ct's user avatar
  • 5,045
7 votes
0 answers
2k views

Firestore Date loses timezone offset after retrieval and saving back to database

My local time zone is UTC+2. I am building a NativeScript app that has a RadCalendar control, in which the user can select dates. In my scenario the user selects 29, 30 and 31 January 2018. A ...
Shawn de Wet's user avatar
  • 5,856
7 votes
2 answers
212 views

FireFox 34 setMinutes BUG?

There is a strange behaviour of the FireFox 34 setMinutes date method to set the 60 minutes for 2008 year 01 January 23 hour 00 minutes 00 sec. It is expected that will increase day but this does not. ...
DShost's user avatar
  • 473

15 30 50 per page
1
2 3 4 5
1040