How to Set date to today? lazarus / 31-LCL ---------------------------------------------------------------------- greertr · 2017-01-11 13:06 I'm using a TDateTime Picker - how do you set it to today's date? thx ---------------------------------------------------------------------- balazsszekely · 2017-01-11 13:13 Try this: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i DateTimePicker1.Date := Now; ---------------------------------------------------------------------- greertr · 2017-01-11 13:13 thx a lot!