RTTSoftware Support Forum
PDF Explorer => General => Topic started by: Roberto Marson on June 02, 2024, 09:57:16 AM
-
wanted to display only the date without the times in the creation date column. It's possible?
-
You need to create a custom grid layout (http://www.rttsoftware.com/Manuals/Index.htm?pageURL=PDFE/English/LayoutEditor.htm), and add to it a dynamic calculated column with a formula such as:
formatdate('YYY/MM/DD',date(CD))
This will create a grid column where the PDF creation date is shown with the format defined in that formula. Because there is no format reference to the time, only the date part will be visible.
-
Thanks RTT!
That's exactly the explanation I've been looking for. I've added the link to Delphi basics page on time and date formatting. https://delphibasics.co.uk/RTL.php?Name=FormatDateTime (https://delphibasics.co.uk/RTL.php?Name=FormatDateTime) in case someone else is looking for the same answer wiith specific date and time formating.