Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Incident Reports » Incident Reports Addressed for Version 1.01 » View Incident Report |
Serious |
Reported By: Ivan Mihailov Reported On: 11/19/2012 For: Version 1.01 Build 2 |
var TempDate: DateTime; TempString: String; 1. FormatSettings.DateSeparator := '.'; FormatSettings.ShortDateFormat := 'dd.MM.yyyy'; TempString := '23.07.2012'; TempDate := StrToDate(TempString); ShowMessage(DateToStr(TempDate)); --> NaN.NaN.NaN 2. FormatSettings.DateSeparator := '-'; FormatSettings.ShortDateFormat := 'dd-MM-yyyy'; TempString := '23-07-2012'; TempDate := StrToDate(TempString); ShowMessage(DateToStr(TempDate)); --> 23-05--2013 3. FormatSettings.DateSeparator := '/'; FormatSettings.ShortDateFormat := 'dd/MM/yyyy'; TempString := '23/07/2012'; TempDate := StrToDate(TempString); ShowMessage(DateToStr(TempDate)); --> 23/07/2012
This web page was last updated on Wednesday, March 20, 2024 at 07:22 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |