date-formatting Questions
6
Solved
I have a DateTime stored in universal time (UTC) of value 2010-01-01 01:01:01.
I would like to display it in EST in this format 2010-01-01 04:01:01GMT-04:00, however the 'K' formatter for timezone...
Allodium asked 23/7, 2010 at 23:36
1
Is there a way to format a localized time duration in Kotlin or Java? I have a Duration, and I want to display it in a localized, human readable string like "1 minute 30 seconds" or "...
Snowshoe asked 19/12, 2022 at 21:16
3
Solved
Is there any way to print full date with milliseconds?
For example, I'm doing this:
print("\(NSDate())")
But I'm just get this:
2016-05-09 22:07:19 +0000
How can I get the milliseconds ...
Decorum asked 9/5, 2016 at 22:11
71
Solved
How do I format a Javascript Date object as a string? (Preferably in the format: 10-Aug-2010)
Orly asked 23/8, 2010 at 23:28
3
Solved
Trying to migrate from Moment.js to Dayjs but the only thing I can't get working is the Timezone abbreviation.
dayjs('2020-07-06T14:30:00.000-04:00').tz(dayjs.tz.guess()).format('Do MMM YYYY [at] H...
Lecithinase asked 20/9, 2020 at 8:22
63
Solved
How do I get the current date in JavaScript?
Sheya asked 7/10, 2009 at 11:39
3
Solved
I am using FileAPI to get the HTTP-header Last-Modified time of a file, which is returning the following string:
Fri Oct 25 2013 12:04:10 GMT+0100 (GMT Daylight Time)
This is then posted to PHP ...
Flutterboard asked 6/12, 2013 at 16:30
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
3
Solved
I am trying to format LocalDate variables to dd.MMM.YYYY with:
DateTimeFormatter.ofPattern("dd.MMM.yyyy")
The problem is that more half the time I get two dots. For example 01-01-2000 go...
Hellenize asked 6/11, 2021 at 2:22
11
Solved
I want to combine some text with a date in Excel 2013.
Let's say I have a cell A2 with a date like 30-10-2014. I tried to append the date after the text with this formula:
="Some text and a date: ...
Midgut asked 4/12, 2014 at 23:42
13
Solved
Oracle's default date format is YYYY-MM-DD. Which means if I do:
select some_date from some_table
...I lose the time portion of my date.
Yes, I know you can "fix" this with:
alter session se...
Helminth asked 3/12, 2009 at 6:7
41
The question is how to format a JavaScript Date as a string stating the time elapsed similar to the way you see times displayed on Stack Overflow.
e.g.
1 minute ago
1 hour ago
1 day ago
1 month ...
Formant asked 5/7, 2010 at 7:45
18
Solved
I tried using $(date) in my bash shell script, however, I want the date in YYYY-MM-DD format.
How do I get this?
Crenshaw asked 9/9, 2009 at 19:6
3
Solved
I used MySQL function DATE_FORMAT(table.field, '%d %b %Y'), where the first parameter is my column, and the second is a pattern to format the column according to a date logic.
The output of this f...
Economically asked 3/11, 2015 at 13:34
22
Solved
Goal: Find the local time and UTC time offset then construct the URL in following format.
Example URL: /Actions/Sleep?duration=2002-10-10T12:00:00−05:00
The format is based on the W3C recommendatio...
Gulgee asked 2/7, 2013 at 0:19
6
I'm specifically trying to convert string in Column A : yyyymmdd to dd/mm/yyyy date format using Power Query Editor in Power BI. I can already perform this in Excel using the formula below:
Any ide...
Carom asked 7/8, 2019 at 10:15
8
Solved
I have the following :
var fit_start_time = $("#fit_start_time").val(); //2013-09-5
var fit_end_time = $("#fit_end_time").val(); //2013-09-10
if(Date.parse(fit_start_time)>=Date.parse(fit_end...
Inspan asked 20/9, 2013 at 9:43
6
Solved
I want to display date and time format something like this "May 23 at 12:30pm".
I saw in PHP manual and found:
// Prints something like: Monday 8th of August 2005 03:12:46 PM
echo date('l jS \of F...
Doody asked 31/5, 2013 at 16:9
8
Solved
Please consider the following
$ R --vanilla
> as.Date("01 Jan 2000")
Error in charToDate(x) :
character string is not in a standard unambiguous format
But that date clearly is in a standard...
Porphyritic asked 7/2, 2013 at 15:58
13
Solved
I want to convert a timestamp in MySQL to a date.
I would like to format the user.registration field into the text file as a yyyy-mm-dd.
Here is my SQL:
$sql = requestSQL("SELECT user.email,
...
Fictile asked 12/2, 2012 at 18:45
2
Solved
I have column with cell format date or time (DD.MM.YYYY HH:MM:SS) and values like
03.12.2013 14:01:49
04.12.2013 10:19:27
04.12.2013 12:44:56
04.12.2013 14:20:12
04.12.2013 18:30:21
I need those ...
Rooker asked 28/10, 2019 at 22:48
3
Solved
I am getting the strangest error, when trying to parse a string as a calendar.
It seems that it messes up the Date object which I use to set the result calendar's time. The error is pretty inconsis...
Dorri asked 22/3, 2012 at 23:16
53
Solved
I'm trying to use JS to turn a date object into a string in YYYYMMDD format. Is there an easier way than concatenating Date.getYear(), Date.getMonth(), and Date.getDay()?
Conditioning asked 18/6, 2010 at 0:54
4
Solved
The DateTimeFormatter class documentation says about its formatting codes for the year:
u year year 2004; 04
y year-of-era year 2004; 04
…
Year: The count of letters determines the minimum field w...
Flurry asked 16/12, 2016 at 4:48
3
Solved
I need to parse a date in the following format in my Flutter application (come from JSON) :
2019-05-17T15:03:22.472+0000
According to the documentation, I have to use Z to get the time zone (last...
Endocrinology asked 17/5, 2019 at 15:22
1 Next >
© 2022 - 2024 — McMap. All rights reserved.