Display time in laser

Parent Previous Next

M-III supports an automatic time display. The programming or activation is performed at the text input window of the editor. Therefor please select the text tool. You can now enter the following basic commands in the text box:


<date>

<time>


A further formatting of the time output is possible as well:


yy                =        Year with 2 digits (i.e. 2014 = 14)

yyyy                =        Year with 4 digits (i.e. 2014 = 2014)

m                =        Month without leading zero (i.e. January = 1)

mm                =        double-digit month-statement (i.e. January = 01)

mmm                =        month-statement as short name (i.e. January = Jan)

mmmm        =        month-statement as long name (i.e. January = January)

d                =        Day without leading zero (i.e. Monday = 1)

dd                =        double-digit day-statement (i.e. Monday = 01)

ddd                =        day-statement as short name (i.e. Monday = Mon)

dddd                =        day-statement as long name (i.e. Monday = Monday)


c                =        short date format

h                =        hour display without leading zero

hh                =        double-digit hour display

n                =        minute display without leading zero

nn                =        double-digit minute display

s                =        second display without leading zero

ss                =        double-digit second display

z                =        millisecond display without leading zero

zzz                =        triple-digit millisecond display

t                =        short time format

tt                =        long time format


Examples:


<date>                creates        2014-03-12

<date,yy-mm>        creates        12-Mar

<time>                creates        16:02:25

<time,n:ss>                creates        2:09

<time,hh:nn:ss>        creates        14:02:09


Furthermore clear texts can be added.


Example:


It’s <time,hh:nn> o’clock        creates        It’s 04:02 P.M.

Date <date,dd/m>                creates        Date 3/12