Skip to content

DATE_ISO ​


Intrinsic define (macro value) set by the compiler

Syntax ​

` DATE_ISO

`

Description ​

Substitutes the compiler date in a literal string ("yyyy-mm-dd" format) where used. This format is in line with ISO 8601 and can be used for lexicographical date comparisons.

Examples ​

start GeSHi

vb
Print "Compile Date: " & __DATE_ISO__

If __DATE_ISO__ < "2011-12-25" Then
    Print "Compiled before Christmas day 2011"
Else
    Print "Compiled after Christmas day 2011"
End If

end GeSHi

Compile Date: 2011-09-29
Compiled before Christmas day 2011

Differences from QB ​

  • New to FreeBASIC

See also ​

  • __DATE__
  • __TIME__
  • Date

Back to DocToc

Translated from FreeBASIC official docs. Contact us for removal if infringed.
FreeBASIC is an open-source project, not affiliated with Microsoft