date-format Questions
1
Solved
I'm using the NextUI library version 2.3.6. I'd like to use the DatePicker or the DateInput.
However, the default format displayed is mm/dd/yyyy; I need to display the date in the following format:...
Verbal asked 2/5 at 8:55
11
Solved
How do I convert my time from 2010-12-30 23:21:46 to ISO 8601 date format? (-_-;)
Croupier asked 16/3, 2011 at 7:38
7
Solved
The context is that there is an existing application in our product which generates and sends the EPOCH number to an existing oracle procedure & vice versa. It works in that procedure using som...
Kamikamikaze asked 18/5, 2016 at 16:21
48
Solved
I want to convert a duration of time, i.e., number of seconds to colon-separated time string (hh:mm:ss)
I found some useful answers here but they all talk about converting to x hours and x minutes...
Zinck asked 10/6, 2011 at 23:23
5
Solved
I have a string of a date in javascript in format #1. I need to convert it to format #2.
The problem starts when one format is "dd/mm/yy" and the other is "mm/dd/yy".
The formats change dynamical...
Council asked 22/10, 2014 at 5:13
1
I have tried with the below
Is my Date format correct as per awscli LaunchTime ?
To get the last 5 Days Instance count which was created via LaunchTime with of AWS cli in Powershell:
$getDays = Ge...
Allegorical asked 16/11, 2023 at 18:58
54
Solved
I have a date with the format Sun May 11,2014. How can I convert it to 2014-05-11 using JavaScript?
function taskDate(dateMilli) {
var d = (new Date(dateMilli) + '').split(' ');
d[2] = d[2...
Calvinna asked 11/5, 2014 at 13:13
24
Solved
What is an easy way to check if a value is a valid date, any known date format allowed.
For example I have the values 10-11-2009, 10/11/2009, 2009-11-10T07:00:00+0000 which should all be recogniz...
Gallice asked 16/9, 2011 at 13:23
33
Solved
I've created this script to calculate the date for 10 days in advance in the format of dd/mm/yyyy:
var MyDate = new Date();
var MyDateString = new Date();
MyDate.setDate(MyDate.getDate()+10);
MyDa...
Cirri asked 31/8, 2010 at 0:28
9
Solved
I am using CONVERT(data_type(length),expression,style) function to change the format of a date in a SELECT query.
Declare @dt nvarchar(20)
Select @dt = Convert(nvarchar(20), SalesDate, 113) FROM S...
Snowberry asked 13/8, 2013 at 6:38
5
Solved
SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy");
String date = sdf.format(new Date());
System.out.println(date);
Result is todays date i.e 23/03/2014
But when I do
Simpl...
Schinica asked 23/3, 2014 at 11:40
41
Solved
How can I generate the name of the month (e.g: Oct/October) from this date object in JavaScript?
var objDate = new Date("10/11/2009");
Galinagalindo asked 29/10, 2009 at 12:19
8
Solved
Is there any way I can get django to store my data in postgresql as 'dd-mm-yyyy' (if required) and have the django forms validate for 'dd-mm-yyyy'?
(I have tried without much success things like:
D...
Subscribe asked 2/2, 2011 at 15:34
23
I've a String representing a date.
String date_s = "2011-01-18 00:00:00.0";
I'd like to convert it to a Date and output it in YYYY-MM-DD format.
2011-01-18
How can I achieve this?
Okay, ...
Internee asked 23/1, 2011 at 5:9
11
Solved
I have a datepicker. My app is pushing a notification. I want to display the date in 01-07-2013 MM-dd-yyyy format. Please check my code below:
//---Button view---
Button btnOpen = ( Button ) fin...
Smokeless asked 7/1, 2013 at 6:27
27
Solved
I'm trying to check that dates entered by end users are in the YYYY-MM-DD. Regex has never been my strong point, I keep getting a false return value for the preg_match() I have setup.
So I'm assum...
Tinct asked 2/11, 2012 at 11:27
7
I am working on customising the date to the dd-mmm-yyy ie for eg 12-Feb-2019, working using the angular material 6 and this is my code, I have not used a replace function but yet get this error
Th...
Africah asked 25/2, 2019 at 13:20
2
If I do this
DateTime dateTime = DateTime(2022, 5, 1); // Sunday
print(DateFormat("E").format(dateTime));
Sun will be printed out to the console. Which is what I expected.
This also work...
Ineffaceable asked 2/5, 2022 at 17:59
5
Solved
I have checked this SO post: Where can I find documentation on formatting a date in JavaScript?
Also I have looked into http://home.clara.net/shotover/datetest.htm
My string is: Mon Jun 24 2013 0...
Alligator asked 11/6, 2013 at 6:52
5
I have a date in a format like this fecha2.value = '2014-01-06', but I want to change the format to this '01-06-14' using jQuery.
How can I do this?
Hanover asked 6/1, 2014 at 9:9
6
I got this sample code from this forum.
<DatePicker SelectedDate="{Binding myVideModelProperty}"
Height="25" HorizontalAlignment="Left" Margin="81,-2,0,0" Name="myDatePicker" VerticalAlignment...
Ideal asked 25/6, 2014 at 17:59
11
I would like to be able to convert a Java date format string, e.g. dd/MM/yyyy (07/06/2009) to a JavaScript date format string, e.g. dd/mm/yy (07/06/2009).
Has anyone done this before, or got any id...
Dispersive asked 17/6, 2009 at 15:21
8
Solved
I'm trying to grab the date from my database in a standard timestamp and display it as ISO 8601. I'm unable to easily do it in PHP so I'm trying to do it in my SELECT statement. This is what I have...
Rozamond asked 17/2, 2012 at 1:45
6
Solved
One of our customers wants to be able to enter a date with only 2 digits for the year component. The date will be in the past, so we want it to work for the previous century if the 2 digit year is ...
Naive asked 30/10, 2008 at 19:57
37
Solved
How can I convert seconds to an HH-MM-SS string using JavaScript?
Comprise asked 24/8, 2009 at 14:26
1 Next >
© 2022 - 2024 — McMap. All rights reserved.