This shows you the differences between two versions of the page.
el:hour [2016/01/01 22:39] |
el:hour [2020/02/28 10:46] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Hour ===== | ||
+ | ==== Σύνταξη ==== | ||
+ | hour\\ | ||
+ | hour() | ||
+ | ==== Περιγραφή==== | ||
+ | Επιστρέφει την τρέχουσα ώρα της μέρας (0-23), όπως είναι καταχωρημένη στο ρολόι του συστήματος. | ||
+ | |||
+ | ==== Παράδειγμα ==== | ||
+ | < | ||
+ | # apeikonisi imerominias | ||
+ | dim months$(12) | ||
+ | months$ = {" | ||
+ | print year + " | ||
+ | # apeikonisi wras | ||
+ | h = hour | ||
+ | if h > 12 then | ||
+ | h = h - 12 | ||
+ | ampm$ = " | ||
+ | else | ||
+ | ampm$ = " | ||
+ | end if | ||
+ | if h = 0 then h = 12 | ||
+ | print right(" | ||
+ | </ | ||
+ | θα απεικονίσει κάτι παρόμοιο με.\\ | ||
+ | < | ||
+ | 2010-July-15 | ||
+ | 10-00-02 PM | ||
+ | </ | ||
+ | |||
+ | ==== Δες επίσης ==== | ||
+ | [[day|Day]], | ||
+ | ==== Εισήχθηκε με την έκδοση ==== | ||
+ | 0.9.4 |