Search

Search all blog posts and tutorials by any word or term

← NewsJuly 2, 20231 min read

DelphiVCLFireMonkey

Delphi: Convert any string to date - even "no date"

  • Delphi
  • VCL
  • FireMonkey
  • Windows
  • Linux
  • RAD Studio

Converting strings to dates never seemed to be straightforward. First, specifying the source for all the different date component was difficult.

Second, if the conversion is unsuccessful and "no date" has been defined, it could not be expressed with TDate or TDateTime.

Possible solutions for both issues will be presented in this :link: 5-Minute-Snack.

Free to read, not free to make. If this article saved you time or taught you something, there's a way to give back.

How to support