date-conversion Questions
8
Trying to convert 1504865618099.00 Unix time into a readable date time.
I tried this:
=(UNIX + ("1/1/1970"-"1/1/1900"+1)*86400) / 86400
But it's not working.
Henequen asked 9/9, 2017 at 11:23
12
Solved
i have written this code to convert the current system date and time to some other timezone. I am not getting any error but i am not getting my output as expected. Like if i execute my program at a...
Deface asked 24/2, 2012 at 10:42
10
Solved
I have a PHP script that outputs an array of data. This is then transformed into JSON using the json_encode() function.
My issue is I have a date within my array and it's not in the correct JavaS...
Vaporimeter asked 31/5, 2012 at 15:51
2
Solved
I have one more time a problem:
I want to convert from Strings to dates in VBA
The Strings look like: YYYY-DD-MM
The date should be like: DD.MM.YYYY
I know, normally you do this with the method...
Pelt asked 6/11, 2013 at 14:42
7
Solved
I want to convert from Gregorian to Hijri(Islamic) date and I need a java class for this converting. I want to give it an Gregorian date in format of "yyyy/mm/dd" as string and it give me the Hijri...
Hance asked 31/3, 2013 at 11:4
18
Solved
Is there a simple way to convert one date format into another date format in PHP?
I have this:
$old_date = date('y-m-d-h-i-s'); // works
$middle = strtotime($old_date); // returns bool(false)
$...
Romine asked 30/1, 2010 at 12:58
6
Solved
How to convert LocalDateTime to OffsetDateTime?
private OffsetDateTime getEntryDate(Payment payment) {
return Optional.ofNullable(payment)
.map(Payment::getEntryDate)
.map(SHOULD RETURN OffsetDa...
Lampedusa asked 1/4, 2019 at 12:4
5
Solved
How do you convert Gregorian dates to Islamic Hijri dates using JavaScript?
Belita asked 3/3, 2011 at 6:51
3
Solved
I have a requirement to convert incoming date string format "20130212" (YYYYMMDD) to 12/02/2013 (DD/MM/YYYY)
using ThreadLocal. I know a way to do this without the ThreadLocal. Can anyone help me...
Ingathering asked 3/9, 2013 at 10:31
4
Solved
Is there a native way of doing "HH:MM:SS" to seconds with PHP 5.3 rather than doing a split on the colon's and multipling out each section the relevant number to calculate the seconds?
For examp...
Hymettus asked 5/1, 2011 at 14:24
5
Example:
seconds ="1015557";
Result should be:
11days 18h:05m:57s
How can do this in MySQL?
Uncial asked 26/12, 2016 at 11:46
7
Solved
I want to convert a custom Gregorian date to Persian date in C#.
For example, i have a string with this contents:
string GregorianDate = "Thursday, October 24, 2013";
Now i want to have:
stri...
Tortola asked 6/6, 2015 at 13:51
6
Solved
How can I convert following date in epoch:
1293683278
to following readable date:
2010-06-23 09:57:58
using Javascript?
Thanks!
Linnell asked 10/5, 2012 at 14:8
3
Solved
How would you convert a timestamp to an ISO 8601 format (such as 2009-01-28T21:49:59.000Z) in Lua?
I'm specifically trying to do it by using the HttpLuaModule in Nginx.
Colliery asked 21/11, 2013 at 21:7
10
Solved
How do I get the day of a week in integer format? I know ToString will return only a string.
DateTime ClockInfoFromSystem = DateTime.Now;
int day1;
string day2;
day1= ClockInfoFromSystem.DayOfWee...
Mccafferty asked 8/2, 2012 at 18:14
7
Solved
How can I get Unix time in Go in milliseconds?
I have the following function:
func makeTimestamp() int64 {
return time.Now().UnixNano() % 1e6 / 1e3
}
I need less precision and only want milliseco...
Eckstein asked 9/6, 2014 at 14:49
5
Solved
How do I use sql to get the whole month name in sql server?
I did't find a way using DATEPART(mm, mydate) or CONVERT(VARCHAR(12), CreatedFor, 107).
Basically I need in the format: April 1 2009.
Ignoble asked 27/10, 2013 at 14:20
7
Solved
If I use java.util.Date's toInstant() on a variable which happens to be a java.sql.Date, I get an UnsupportedOperationException.
try {
java.util.Date input = new java.sql.Date(System.currentTime...
Stunk asked 17/10, 2017 at 16:20
8
Solved
I am new to Java. Postgres db contain date format is yyyy-MM-dd. I need to convert to dd-MM-yyyy.
I have tried this, but wrong result is display
public static void main(String[] args) thro...
Taps asked 21/2, 2013 at 10:9
1
Solved
I want to read a time stamp from Active Directory and compare it to an other date created in JS.
From AD I'm getting the date in form of an 18-digit number (time in 100 nanoseconds since Jan ...
Foetation asked 12/1, 2018 at 10:18
9
Solved
I have a date inside a string, something like "12-December-2012".
How can I convert this into milliseconds (long)?
Diviner asked 18/9, 2012 at 8:55
2
Solved
I'm trying to convert XMLGregorianCalendar which is sent in GMT/UTC format to Java 8 LocalDateTime in America/Los_Angeles timezone with no luck.
Here is what I tried and couldn't get the time con...
Pelotas asked 12/11, 2017 at 3:53
2
Solved
I have a date in the Gregorian calendar and want to look up the same day in the Julian calendar.
This should be easy with the Date/Time API of Java 8 but I couldn't find a way to do it. The code s...
Azelea asked 29/10, 2017 at 14:17
1
Solved
I was using TimeUnit.MILLISECONDS.toDays(ms) to convert a millisecond time quantity to days but reading the JavaDoc I noticed it's based on .convert() and loses precision
Convert the given time ...
Kuopio asked 23/3, 2017 at 10:55
3
Solved
I have below SQL.
UPDATE student_queues
SET Deleted=0,
last_accessed_by='raja',
last_accessed_on=CONVERT(VARCHAR(24),'23-07-2014 09:37:00',113)
WHERE std_id IN ('2144-384-11564')
AND reje...
Radu asked 23/7, 2014 at 9:56
1 Next >
© 2022 - 2025 — McMap. All rights reserved.