User Tools

Site Tools


el:second

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

el:second [2020/02/28 10:46] (current)
Line 1: Line 1:
 +===== Second =====
 +==== Σύνταξη====
 +**second**\\
 +**second**()
 +==== Περιγραφή====
 +Επιστρέφει το τρέχων δευτερόλεπτο (0-59), όπως είναι καταχωρημένο στο ρολόι του συστήματος.
 +==== Παράδειγμα====
 +<code>
 +# apeikonisi imerominias
 +dim months$(12)
 +months$ = {"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"}
 +print year + "-" + months$[month] + "-" + right("0" + day, 2)
 +# apeikonisi wras
 +h = hour
 +if h > 12 then
 +h = h - 12
 +ampm$ = "PM"
 +else
 +ampm$ = "AM"
 +end if
 +if h = 0 then h = 12
 +print  right("0" + h, 2) + "-" + right("0" + minute, 2) + "-" + right("0" + second, 2) + " " + ampm$
 +</code>
 +θα απεικονίσει κάτι παρόμοιο με.\\
 +<code>
 +2010-July-15
 +10-00-02 PM
 +</code>
 +
 +==== Δες επίσης ====
 +[[day|Day]], [[hour|Hour]], [[minute|Minute]], [[month|Month]], [[Msec|Msec]], [[year|Year]]
 +==== Εισήχθηκε με την έκδοση ==== 
 +0.9.4
  
el/second.txt · Last modified: 2020/02/28 10:46 (external edit)