Most of it works. E.g job['Id'].AsString evaluates to 'POS-10', etc. But job['StartDate.Date'].AsString evaluates to '43891' and EndDate to '44355' ...
Most of it works. E.g job['Id'].AsString evaluates to 'POS-10', etc. But job['StartDate.Date'].AsString evaluates to '43891' and EndDate to '44355' ...
I need to convert from a Pascal TDateTime object which is a double value to Unix epoch using c++. A possible solution is proposed (https://forexteste ...
I am using C++Builder 2009. I have a start date 2000/01/01 and a count of seconds from this timestamp. I want to create a TDateTime with this date. I ...
We have an embedded Linux system where the user needs to be able to permanently set the system's timezone by supplying a POSIX string (e.g. WEuropeSta ...
I try to convert strings in specific formats to TDateTime using C++Builder 2009: Conversion of dt is ok, but conversion of dt2 throws an exception ...
I have a question for you Delphi-cracks out there. My Java application is communcating with a Delphi Application. The Delphi Application shows some d ...
I am new in Delphi programming. While going through the Data Types in Delphi I found TDateTime. While using it in my test application I come to know ...
my problem in short: TDateTime A (03.09.2014 13:40) - TDateTime B (03.09.2014 13:40) = -1 I have two TDateTime values which i want to compare, first ...
I want to display a 'news' page in a form using Deplhi TWebBrowser. The news page is a simple HTML page which we upload to our website from time to ti ...
How can I convert a TValue in TDateTime? I see there are methods like AsInteger, AsDouble, etc. but nothing for TDateTime. ...
I am trying to add to my application interface a "Transfer Rate : XGb p\min" feature. I am computing it at a millisecond level using Lazarus 1.2.2 and ...
Is there any simple option to convert a U.S. TDateTime value Apr 17, 2014 8:35:38 PM PDT to a European format looking like 2014-04-17 20:35:38? EDIT: ...
I'm trying to validate dates entered by the user using TryStrToDate to ensure that they can be properly displayed on the screen of the application I'm ...
I need know type variable TDateTime, TDate and TTime. Anyone have any idea how to do this? I used the code below, the result is "Is NOT TDateTime", ...
I have an object, that has one value, but that value can either be an integer, string, boolean or TDateTime. So, it is a Variant. I use VarType() to ...
I have TDateTime variable named dtBegin. dtBegin is containing value "7/3/2000". I need to replace the Day only with "2" to change the value into "2/3 ...
I've spent many hours researching this and am pretty stuck: my question is - has the internal format of a Delphi TDateTime changed between Delphi 7 (r ...
This code should work in Delphi XE2, but it gives "not a valid date and time" error in StrtoDateTime conversion: Any hints? ...
I am using C++ Builder and am creating a GUI application using the TDateTime data type. When I use the MonthOf() method on a TDateTime object, I am g ...
I am using C++ Builder and am wanting some help to see if two times are the same. Here is my code: These values appear to be the same. I have chec ...