Datetime formats in sunamo framework

In columns Create and Parse are names of methods in DT*.cs, located in sunamo projects.

 

This analyze was did to easy find what formats it’s available and which methods is needed write up.

 

Date and time (with seconds)

 CreateParse
19890621T00:00:00DateToStringAngularDate
DateAndTimeToStringAngularDateTime
1989-06-21T11:22:00DateTimeToStringToInputDateTimeLocal

DateTimeToStringFormalizeDateEmptyTime
21.6.1989 / 6/21/1989 + " " + mm:ss ttToString
2018-08-10T11:33:19ZStringToDateTimeFormalizeDate
yyyy_mm_dd
With A2 append hh_mm
DateTimeToFileName

Date and time (without seconds)

 CreateParse
2011-10-18 10:30FormatDateTime
21.6.1989 11:22DateTimeToString
6/21/1989 11:22DateTimeToString
1989_06_21_11_22FileNameToDateTimePrefix

FileNameToDateTimePostfix
1989_06_21FileNameToDateTimePrefix

FileNameToDateTimePostfix
2015-09-03T21:01StringToDateTimeFromInputDateTimeLocal

Date

 CreateParse
d.m.yToShortDate
ToShortDateString
DateToStringOrSE
DateToString
1989-06-21DateTimeToStringFormalizeDate
d/m/yyyyParseDateMonthDayYear
m/d/yyyyParseDateMonthDayYear
yyyy_mm_ddDateTimeToFileName
mm/dd/yyyyDateToStringjQueryDatePicker
DateToStringOrSE
DateToString
ParseDateUSA
ParseDateMonthDayYear

Time (without seconds)

 CreateParse
11:22 ToShortTimeFromSeconds
hh:mm ttParseTimeUSA

Time (with seconds)

 CreateParse
mm:ss ttToShortTimeStringParseDateTimeUSA
12:00:00TimeToStringAngularTime
ToShortTimeWithSecond

Time (with ms&s) and other formats

 CreateParse
Wednesday, 21.6.1989 11:22DateTimeToStringWithDayOfWeekCS
1989-06-21T00:00:00.000ZDateTimeToStringStringifyDateEmptyTime

DateTimeToStringStringifyDateTime
21.6.1989 (středa)DateWithDayOfWeek
????_??_??_S_?*FileNameToDateWithSeriePostfix
Středa, 21.6.1989DateToStringWithDayOfWeekCS
6/21/1989 (wednesday)DateWithDayOfWeek
12:00:00:000AppendToFrontOnlyTime

Leave a Reply