Link to home
Start Free TrialLog in
Avatar of andrewyu
andrewyu

asked on

Date Time Picker

How can I assign date value from a DateTimePicket (kind : dtkDate) with time value from a DateTimePicket (kind : dtkTime) to a TDateTime variable ?

Andrew
Avatar of kretzschmar
kretzschmar
Flag of Germany image

datetime := trunc(datetimepicker1.date)+datetiempicker2.time;

just from head

meikl ;-)
ASKER CERTIFIED SOLUTION
Avatar of Motaz
Motaz

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
:-) i guessed that also, but i can't check it
(no delphi on hand yet)

but atleast it must be frac and not fract, or?

meikl ;-)
Avatar of andrewyu
andrewyu

ASKER

It's done !
Thank you very much !

Andrew
seems, i'm lost without delphi on hand :-(
Anyway, Thank you very much to you two !!!

Andrew