tdatetime Questions

11

Solved

As far as I know there is no way to do this, but I am going to ask just in case someone else knows how to do this. How can I declare a date as a const in Delphi? The only solution I have found is...
Betrothal asked 23/3, 2009 at 23:0

2

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 that the TDateTime Object provide me a Float\Do...
Pleopod asked 28/1, 2015 at 5:28

3

var tm : string; dt : tdatetime; tm := '2009-08-21T09:11:21Z'; dt := ? I know I can parse it manually but I wonder if there is any built-in function or Win32 API function to do this ?
Wandawander asked 20/10, 2009 at 22:54

2

Solved

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 time and may be output from various tools. The di...
Ruddy asked 11/8, 2014 at 9:38

3

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", "Is NOT TDate", "Is NOT Ttime" program Projec...
Farwell asked 3/10, 2013 at 17:2

1

Solved

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 check its type, but since VarType() has no 'var...
Radford asked 13/3, 2013 at 13:59

2

Solved

This code should work in Delphi XE2, but it gives "not a valid date and time" error in StrtoDateTime conversion: procedure TForm2.Button1Click(Sender: TObject); var s: string; d: TDateTime; Fmt...
Rapper asked 9/11, 2012 at 12:55

2

Solved

Using the RTTI system in Delphi 2010, is there any way to find out if a property is a TDateTime? It's currently treating it as a double whenever I call back asVariant and also if I check the proper...
Chloride asked 20/10, 2011 at 13:45
1

© 2022 - 2024 — McMap. All rights reserved.