Top "Datetime-format" questions

datetime-format is a transformation of a timestamp from an industry standard format, such as UTC or ISO, to a format which conforms to the standards of a particular locale or audience

Find oldest/youngest post in mongodb collection

I have a mongodb collection with many fields. One field is 'date_time', which is in an ISO datetime format, …

mongodb datetime aggregation-framework datetime-format
java.time.DateTimeFormatter : Need ISO_INSTANT that always renders milliseconds

I'm trying to cleanup a mix of various code around datetime management to only Java 8 java.time namespace. Right now …

java java-8 datetime-format
DateTimePicker control does not show AM/PM

I'm having a problem with a DateTimePicker control using a custom format which includes the the two-letter A.M./P.…

vb.net winforms datetimepicker datetime-format
Convert SimpleDateFormat to DateTimeFormatter

So when trying to replace some legacy code using SimpleDateFormat and Date, to use java.time.DateTimeFormatter and LocalDate I …

java java-8 simpledateformat datetime-format
Insert date string to datetime2 in TSQL insert

I need to insert a date string as DATETIME2 in the QUEUE table in Microsoft Sql Server. DB structure: CREATE …

sql-server tsql insert datetime-format datetime2
Why does DisplayFormat with DataFormatString changes "/" (slash) to "-" (dash)?

I'm using the following code // Model [DisplayFormat( ApplyFormatInEditMode = true, DataFormatString = "{0:dd/MM/yyyy}")] public DateTime StartDate { get; set; } // View @Html.…

.net asp.net-mvc-3 datetime-format
not being able to convert from FILETIME (windows time) to dateTime ( I get a different date )

Most of the files I read get the right time when using the following method to convert: // works great most …

c# datetime datetime-format filetime
In an ISO 8601 date, is the T character mandatory?

I'm wondering if the following date is ISO8601 compliant : 2012-03-02 14:57:05.456+0500 (for sure, 2012-03-02T14:57:05.456+0500 is compliant, but not …

date standards datetime-format iso
How to convert LocalDateTime object into ISO string including time zone?

I am trying to convert a date/time string back and forth into a LocalDateTime object. I am using ThreeTenBp …

kotlin datetime-format threetenbp
Convert Date from ISO 8601 Zulu string to java.time.Instant in Java 8

I want to convert string date format into java.time.Instant I am getting exception while parsing date. java.lang.…

java datetime java-8 datetime-format java.time.instant