Recent

Author Topic: Format DateTime  (Read 1300 times)

seghele0

  • Full Member
  • ***
  • Posts: 173
Format DateTime
« on: September 22, 2021, 05:59:48 pm »
Code: Pascal  [Select][+][-]
  1. filename := 'Wiezen-' + FormatDateTime('ddmmyyyy',Date)+ '.xlsx';
  2.     workbook.WriteToFile(filename, sfOOXML, true);
This works fine.

Is it possible to add the time after the date ?
 :-[

wp

  • Hero Member
  • *****
  • Posts: 11855
Re: Format DateTime
« Reply #1 on: September 22, 2021, 06:16:31 pm »
Please don't ask the same question a second time, in particular when the first question already has been answered  ;D

 

TinyPortal © 2005-2018