Category "date"

AutoHotKey Date Parsing returning today's date

I had been working on a QoL macro to convert selected text dates into a desired format. For that purpose I was trying to utilize the DateParse function that is

How to find previous weeks date?

The method should retrieve the date in the previous week that corresponds most closely to the specified date. fromdate = prevMth(systemDateGet()); need to chan

Is it safe to store dates as a string in mysql?

I have to allow my users to make an update with 24 hours of delay from their previous update, so because date operations in this case are going to be on the bac

Filtering query by the field: recurrence/range/endDate

Is it possible (using Graph Api) to filter query by recurrence/range/endDate event field? For other data types it works, but for the endDate field, which is a D

gin/golang gin-gonic does not parse time.Time properly for unix json?

I cannot find the way to execute this code properly with UNIX: package main import ( "time" "github.com/gin-gonic/gin" "net/http" ) type Things struct

How to change Date and Time settings on Google Cloud Instance?

I am trying to change Date and time settings to UTC+10 Canberra,Sydney,Melbourne on the instance but it always keep rolling back to UTC+00 Monrovio, Reykjavik.

How can I tell if DateTime.Now() is on a day AFTER a different DateTime

I'm running this on flutter, but I guess this could be a more general issue. I am saving a DateTime in the preferences. I want to be able to then tell if DateT

How to format TimeOfDay to String in flutter

I want to display the current time. Used TimeOfDay.Now() to get the current time, TimeOfDay _currentTime = TimeOfDay.now(); Text("Current Time: ${_currentTime

How to change the date format on a Work Item in Azure DevOps Work item

The date format on each Work Item is showing in US format (M/d/yyyy) and I need it to display in AU format (dd/mm/yyyy). I have set the region for the Organisat

Spark SQL: Parse date string from dd/mm/yyyy to yyyy/mm/dd

I want to use spark SQL or pyspark to reformat a date field from 'dd/mm/yyyy' to 'yyyy/mm/dd'. The field type is string: from pyspark.sql import SparkSession fr

Parsing a string to a date in JavaScript

How can I convert a string to a Date object in JavaScript? var st = "date in some format" var dt = new Date(); var dt_st = // st in Date format, same as dt.

How to sort array of objects by dates and make new arrays which will contain all objects with same date [closed]

I have a very specific problem in Javascript. I have array of objects, and each object contains some date. const array = [ {name: 'first', dat

How do you define the first day of the month (without including week-ends) in a batch script?

I have created a scheduled task in Windows that consists of running a batch script. The problem is that this task has to be scheduled every 1st day of the month

Date comparison Logic / in Liquid Filter

I'm trying to add 30 days to a pre-order date and if today's date is later, display a text string and if not display another text string. Any ideas where I'm go

Convert date to ISO week date in Spark

Having dates in one column, how to create a column containing ISO week date? ISO week date is composed of year, week number and weekday. year is not the same as

bug when adding a month with date-fns add() method?

I've been trying to add just one month to a date using date-fns add() function. It works as advertised most of the time. period = new Date('2021-03-01') //im a

Convert string to date using arrow python

I'm trying to convert string to date using arrow module. During the conversion, I received this error: arrow.parser.ParserMatchError: Failed to match '%A %d %B

How to validate the date in a varchar column in SQL Server

I have a staging table which contains all varchar columns. I want to validate a date stored in the data column. Since my staging table contains all varchar colu

firestore query filter by date in firebase console

I am wondering how to filter firebase firestore by date field, as I can't see data type other than String, Number, Boolean As below, please advice if someone fi

firestore query filter by date in firebase console

I am wondering how to filter firebase firestore by date field, as I can't see data type other than String, Number, Boolean As below, please advice if someone fi