Built-in macros: $time

The $time macro is replaced by the current date and time allowing you to e.g. version your application.

Content

day.month.yearhour:minutes:seconds

Discussion

The date format has the order day month year, using a . (dot) on the line as the separator. The time format is expressed in the 24-hour notation using a : (colon) as the separators between hours, minutes and seconds. The date and time are separated by a single blank sign. Following example demonstrates a value resulting from the evaluation of the $time macro:

7.9.2016 18:17:50

The macro $time is used mainly within a string literal to format e.g. messages with the information regarding the date when the application was compiled:

BuildDateTextView.String = "Build date: $time";