Top "Datetime-conversion" questions

Use this tag for questions related to the Datetime conversion, i.e. manipulating the Datetime in such a way, that a new, different in format, Datetime is produced.

Converting DateTime to number of seconds in VB .NET

For converting number of seconds to DateTime, in VB .NET, I use the following code: Dim startDate As New DateTime(1970, 1, 1) …

vb.net datetime time datetime-conversion
DB2 timestampdiff function returning unexpected results

I'm using the following syntax TIMESTAMPDIFF(2, CHAR(CREATED - TIMESTAMP('1970-01-01 00:00:00')) where CREATED is of type TIMESTAMP …

datetime timestamp db2 epoch datetime-conversion
Convert Unix/Linux time to Windows FILETIME

I am once again going from Windows to Linux, I have to port a function from Windows to Linux that …

c porting datetime-conversion time-t filetime
Dart - Converting Milliseconds Since Epoch (UNIX timestamp) into human readable time

Is there a good way to parse milliseconds since epoch (ex. 1486252500000 13 digits) formatted time into a human readable format?

dart unix-timestamp datetime-conversion
Java 8 - Convert LocalDate to OffsetDateTime

I like to know if it is possible to convert in Java 8 from LocalDate to OffsetDateTime. For example assume that …

java date datetime java-8 datetime-conversion
Mapstruct LocalDateTime to Instant

I am new in Mapstruct. I have a model object which includes LocalDateTime type field. DTO includes Instant type field. …

java-time mapstruct datetime-conversion localdate java.time.instant
yyyy-MM-dd'T'HH:mm:ss.SSSSSSS'Z' format

I am trying to convert GMT to IST. SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSSSSS"); Date c= sdf.parse("2017…

java datetime-conversion
How to covert AM/PM time format to hour format in angular 2

I have time like this '2:00 PM' and I want to get it like this '14:00'.Can anyone please …

angular typescript datetime-conversion
What does division by 1e9d mean?

This is the snippet: String myTime = someTime / 1e9d + ","; someTime is derived by using System.nanoTime(). What does 1e9d …

java time nanotime datetime-conversion
Unity c# convert date-string to datetime object in desired date time format

I need to convert a list of strings that contain date information (e.g. "2018-12-16") into DateTime format so …

c# datetime unity3d datetime-conversion