Recent

Author Topic: How to Set date to today?  (Read 1612 times)

greertr

  • Full Member
  • ***
  • Posts: 113
    • Virtual Pilot Dashboard
How to Set date to today?
« on: January 11, 2017, 02:06:45 pm »
I'm using a TDateTime Picker - how do you set it to today's date?

thx

balazsszekely

  • Guest
Re: How to Set date to today?
« Reply #1 on: January 11, 2017, 02:13:01 pm »
Try this:
Code: Pascal  [Select][+][-]
  1. DateTimePicker1.Date := Now;  

greertr

  • Full Member
  • ***
  • Posts: 113
    • Virtual Pilot Dashboard
Re: How to Set date to today?
« Reply #2 on: January 11, 2017, 02:13:53 pm »
thx a lot!

 

TinyPortal © 2005-2018