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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
34 views

List all the dates in a column in a pandas dataframe

I am beginner to Python and Pandas The following is a part of my pandas dataframe. I want to extract all the dates in the INTERVAL_DATETIME column. Like 16/11/2020, 31/05/2020.......21/11/2023. I do ...
Rhythm's user avatar
  • 23
0 votes
1 answer
16 views

Populate the most recent date for value in corresponding column

First post, Im a bit stumped here. I am creating an availability tracker for workers that also tracks the last time they performed a duty. J2:2 are the date cells and rows 4 and up list the last ...
matthew schellinger's user avatar
0 votes
0 answers
38 views

I wanna store the room(`kamar`) and `date` to the `database.txt` what did i do wrong? because the room(`kamar1`, `kamar2`, etc) not displaying

#include <stdio.h> #include <stdbool.h> struct Booking { int day; int month; int year; int duration; char roomType[10]; }; bool isRoomBooked(struct Booking bookings[],...
MICHAEL ELBERT JUSTIAN 0000009's user avatar
0 votes
0 answers
6 views

Convert Date data type on Bigquery string to date

Hi all I am trying to convert my data from string to date so I can do date_trunc for cohort analysis. My data is in string type and the formatting for date looks like this: 20221101 I tried parse_date ...
lyra chang's user avatar
-1 votes
0 answers
45 views

Date as a key on join in SQL (multiple dates)

I have two tables, one is for transactions and the other one is for escalations; this is my code: SELECT * FROM TRANSACTIONS AS A LEFT JOIN ( SELECT COMP_ID, ITEM, ...
Sergio Padilla's user avatar
0 votes
0 answers
47 views

How to multiply rows so that I get a particular weekday of the previous 4 weeks and the following 4 weeks

I have data that includes a date and day of week. I would like to identify the 4 instances of a particular weekday that immediately precede the date in the original data and the 4 instances of the ...
Alessio's user avatar
0 votes
1 answer
12 views

v-text-field type=date: restrict future dates

I've seen a lot of post about how to restrict future dates with v-date-picker, but how can I do the same thing but with a v-text-field that has a type of date? I dont want to add the v-date-picker bc ...
user22869368's user avatar
-2 votes
0 answers
29 views

If for dates between dates [closed]

I need to forecast HC for next year. In each row I have employee data with start and if applicable end date. I need to create columns for each month with FTE when the employee will be working. I tried ...
Sv Tiaz's user avatar
0 votes
2 answers
48 views

if statement comparing dates with in pandas

I have this dataframe (forec_pivot2): data = {'Month': ['2023-11','2023-12','2024-01','2024-02','2024-03','2024-04','2024-05','2024-06',], 'EU': [30, 40 , 29 , 25 , 27 , 27 , 37 , 29], 'Japan': [...
Guillermo Nieva Sánchez's user avatar
-1 votes
0 answers
26 views

What is the VBA code to change date picker date format to American date format?

I am a novice so please forgive my ignorance. I'm creating a date picker in VBA for an excel workbook. I got the VBA code from Exceldemy online but the date format is in European format and I need it ...
NuNu's user avatar
  • 1
0 votes
4 answers
81 views

Get time from timestamp string that includes timezone

I receive a date let slotDateString: String = "2023-12-06T15:45:00+04:00" I have two formatters: var iso8601FormatterWithFullTimeZone: DateFormatter { let formatter = DateFormatter(...
Vader20FF's user avatar
  • 283
0 votes
0 answers
23 views

php find earliest date in the format dd/mm/yyyy in a text file

I have a text file in the following format 03/12/2023 06 This is the text in the line 03/12/2023 06 This is the text in the line 03/12/2023 06 This is the text in the line 03/12/2023 06 This is the ...
mark.four's user avatar
0 votes
0 answers
17 views

Angular DatePicker is always including GMT when we don't want any value for GMT (not even UTC)

We have a typical Angular DatePicker component. We're trying to return (via an HTTP POST) the date value of whatever the user has selected in the calendar. What we would LOVE is this: `yyyy-MM-dd. We ...
Pure.Krome's user avatar
  • 85.2k
0 votes
1 answer
55 views

Chrome does not follow its own locale in a date input element

When I test the code I found here: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date <input type="date" id="start" name="trip-start" value="...
Bart Friederichs's user avatar
-1 votes
0 answers
49 views

Subtract one day from date string in ymd format [duplicate]

I have an date string like: 231204. I want to subtract 1 day from that date and produce 231203. I've tried like this but still didn't work : $orderdate = '20'.$value->orderDate-1; $orderdate_call = ...
Red Hood's user avatar
0 votes
0 answers
10 views

Create Current Month

I want to create CurrentMonth for OLAP Cube (SSAS) i have hierarchies "Calendar": yearID QuarterID MonthID DtDate I've created CurrentYear StrToMember("[Dates].[Calendar].[Year Id].&...
Elvira Delman's user avatar
0 votes
2 answers
39 views

Import CSV file into Excel understanding the date importing issue

I have received help on this before, but I clearly don't understand the date import. The file I want to import has data in Columns A to D. I Only want to import A to C. This part I get right but the ...
Wildsniper911's user avatar
-2 votes
0 answers
25 views

I don't know how to get values with this pattern [closed]

I have pattern 01.04.21-(last day of the month).09.21 equal white, 01.10.21-(last day of the month).03.22 equal blue, 01.04.22-(last day of the month).09.22 equal gray 01.10.22-(last day of the month)...
Kamil Fly's user avatar
0 votes
0 answers
16 views

Birt graph drill through on date range

Hopefully someone can put me out of my misery here as i have been trying this on and off for a week or 2 now. I have design a graph which groups installs by date and status. so i have a graph that ...
MKD's user avatar
  • 3
2 votes
2 answers
43 views

Why is cummin/cummax not defined for Date objects and is there any danger in interim numeric conversion?

cummin/cummax cannot be used for Date object. This triggers Error in Math.Date(x): cummax not defined for "Date" objects. I was wondering what's the reasoning behind this since I would think ...
mnist's user avatar
  • 6,773
0 votes
0 answers
39 views

Wheel type datepicker style not working properly

I am integrating date picker in my project, the date picker style is wheel type(.datePickerStyle(.wheel)). but the months are not setting in the inline. is the issue involved with language or the UI? ...
Aruna's user avatar
  • 15
1 vote
2 answers
39 views

Get next date after an arbitrary date in a Python Series

I have a DataFrame in Python that has a "date" column (and several other columns). What I want to do is to split off two DFs based on an arbitrary date in the "date" column. Let ...
THill3's user avatar
  • 129
0 votes
0 answers
32 views

Convert a float value to date time in Oracle [duplicate]

I have a column with the following values (they are date values and were converted in Excel to numeric values), the column type is varchar however they represent float values. 45223.43333 45214.41042 ...
Sarah's user avatar
  • 459
-1 votes
0 answers
20 views

I made calendar by date command but date command says change new date [closed]

date command just says current and change new date So I just making os and here my code @echo off echo Booting System timeout 3 cls echo WELCOME %USERNAME% goto menu :menu echo Type the number. echo....
Fran Pogoric's user avatar
0 votes
2 answers
29 views

Mule 4 Database Insert into Oracle Table with Date field issues

Am using Mule 4 ( runtime 4.3 ) running in anypoint studio ( 7.15.0 ) Am trying to do a simple database insert ( Database is Oracle ) Here is the relevant code for insert : <db:insert doc:name=&...
GettingStarted With123's user avatar
0 votes
0 answers
38 views

How can I find true date for my table on oracle sql

I have two tables. TABLE A: TABLE B: I need to find which TARIFE_GECERLIK_ID on TABLE B should I use for TARIFE_ID for my TABLE A. For example; on TABLE B there are two different TARIFE_GECERLIK_ID ...
gizem kurşova's user avatar
0 votes
1 answer
26 views

Formatting PHP date(); Function To Properly Work With 1st, 2nd, 3rd, 4th And So On

PHP Time Problem (which is most likely very stupid and simple): I need it to print it like this: Wednesday the 4th of Maj 2022 at 07:13:51 But, what I really need for this specific task, is to format ...
Learning WooStoreFront's user avatar
-3 votes
0 answers
50 views

How do I determine the difference, in days, of 2 dates in the format 'dd/mm/yyyy' in SQL Server? [duplicate]

I want to determine the difference in two dates, formatted 'dd/mm/yyyy', that have been declared to be 'VARCHAR(10)'. I would use the generic 'yyyy/mm/dd' format but this was unable to be used on this ...
Jack___'s user avatar
  • 13
0 votes
0 answers
10 views

User entry of date on web page

I have a webpage which uses today’s day (today = new Date();) to take actions according to the date. I want to be able to test it will work on various future dates so I want to be able to have the ...
Bob's user avatar
  • 17
0 votes
1 answer
28 views

User input of date

I have searched the web but can't find an answer. Can anyone point me in the right direction. I want to allow the user to input a date and then have a series of if statements to determine what is then ...
Bob's user avatar
  • 17
0 votes
1 answer
26 views

React State updates only from the second click event

i'm following a React course on udemy, and while doing a project to test my knowledge about state, i got into a bug i can't solve. The project is about coding an application that has three state ...
GianmarcoII's user avatar
0 votes
2 answers
54 views

parse std::chrono::utc_clock from string

I am trying to simply parse a string to a std::chrono::utc_clock::time_point but it is such a pain with all time zone stuff Here what I tried : // The given string IS in UTC, ALWAYS //"...
Nathan's user avatar
  • 13
1 vote
3 answers
58 views

Find months between two dates

I have this tibble library(tibble) tibble(site = c("a", "b", "c", "d"), date = c("01/12/21", "07/06/22", "02/12/22", "30/07/...
luciano's user avatar
  • 13.2k
-2 votes
0 answers
49 views

Date object discrepancies

I am running into a weird issue which I can't make sense of. Today's date is Dec 1st and I expect startDate to be 24th Nov, but as you can see it points to 24th December. const endDate = new Date("...
Saadman Islam Khan's user avatar
-1 votes
1 answer
28 views

Parse date from _table_suffix

I want parse date from _table_suffix for execute last date in table names, but i can't to do it. Firstly, i select just like After parsed dates me saw a mistake about parse string with '..x' in the ...
Ku9feld's user avatar
  • 21
2 votes
1 answer
51 views

Oracle 23c ROUND with DATE data type

I have encountered an odd behaviour of Oracle 23c. As far as I understand lack of the second parameter in the ROUND function should work exactly the same as putting there explicitly 'DAY' parameter. ...
drk's user avatar
  • 41
0 votes
0 answers
28 views

Can I start and stop speech recognition with a button?

Is there anyway to make this so that client.on("volume-indicator") can be stopped and started by an HTML button? And if I want to stop the client.on("volume-indicator") function ...
Jinx Yoshi's user avatar
0 votes
2 answers
86 views

Parsing Date String Treats February as March

Trying to convert a date-time string from the database (stored local time) and keeping it local instead of being converted to UTC time. The one way I am approaching this is taking the date and ...
Jeremy Trpka's user avatar
0 votes
0 answers
44 views

Why does PHP output wrong time zone in calls to date()? [closed]

I'm running PHP 8.1.10 on a WAMP Server environment (Laragon) My php.ini is set correctly [Date] ; Defines the default timezone used by the date functions ; https://php.net/date.timezone date.timezone ...
objecttothis's user avatar
0 votes
1 answer
42 views

Using DATE as part of a composite foreign key in MySQL

I have a table that, minimally, has CREATE TABLE IF NOT EXISTS T ( A int(11) NOT NULL, B date NOT NULL ); A and B themselves happen to have FK constraints later on, but since this isn't part ...
Jack Sack's user avatar
0 votes
2 answers
48 views

Json Deserialization of string "2023-11-10 23:01:18.940" to calendar

I am trying to deserialize json String date to Calendar and deserialization is working however it is not what i want. Current Behaviour @JsonProperty("systemDt") @JsonFormat(Pattern="...
fiddle's user avatar
  • 1,104
0 votes
0 answers
7 views

Issue with formatting date values on an MDBootstrap async datatable

I am using an MDBootstrap 7.0 async datatable in a web project to fetch data from a webhandler and display it. One of the fields is a date value that currently displays as '2023-11-29T00:00:00'. I ...
TC_Guy's user avatar
  • 137
-3 votes
0 answers
35 views

I need help creating a filter in SQL [closed]

I am trying to create a filter that will show me only the orders that will have 90 days by the end of the current month.. I tried this; SELECT " O2C_VBAK"."TS_ERDAT" AS TS_ERDAT, ...
Joyce Cardoso's user avatar
0 votes
0 answers
30 views

Strange display error with VBA charts - x-values as dates

I'm running this script. The goal is to put two data series into the plot area, which works. Values are random. Option Explicit Sub LWAs_Erzeugen() Dim wb As Workbook: Set wb = ThisWorkbook Dim ws ...
2mas's user avatar
  • 33
0 votes
0 answers
19 views

How to show only month year in form.io Date / Time Component

Currently in form.io Date / Time Component show like below image(day, month and year) But i need to show only month and year like below image I am set minMode = "month" or "year" ...
Chirag Kothiya's user avatar
1 vote
1 answer
24 views

using filterGlobal from primeNG's Table to search for Date that has been formatted with a pipe

I'm working on a program utilizing PrimeNG and most of the code is working fine. I've come across a bug with a piped value. I have a table where one column is populated with dates in ISOformat, but ...
Ethan's user avatar
  • 39
-1 votes
0 answers
85 views

SQL Query Not Filtering Out Reserved Rooms Within a Date Range

I'm working on a room booking system and am trying to write a SQL query that retrieves a list of rooms that are not reserved between 2023-01-01 and 2023-01-05. Tables: datphong (booking details) ...
shinobi5244's user avatar
0 votes
1 answer
46 views

times imported from excel worksheet to R incorrect

I am trying to import a single large column of dates and times from excel worksheet ("System"). The column ("Registration_DateTime") is in a custom m/d/yyyy h:mm format, where both ...
bobosein's user avatar
-2 votes
0 answers
60 views

Detect date in string [closed]

I have the following C# code to extract dates from strings, and if a date value is extracted, it's going to parse it to a DateTime before converting it back to string but in a different format: ...
ayrtondenner's user avatar
0 votes
0 answers
13 views

HTML use DatePicker and calculate age

I am new to writing code and feel I'm making some minor novice styled mistakes. Guidance would be appreciated. This is my code: Date of birth:; ; _______________; function ...
Js Smith's user avatar

1
2 3 4 5
1530