|
| 27 Mar 2011 03:48 PM |
It creates a hint that displays what Day of the year it is. :3
local msg = Instance.new("Hint") msg.Parent = game.Workspace
while true do wait(0) msg.Text = "The day of the year is:"..math.floor( tick() % 365 ) end |
|
|
| Report Abuse |
|
|
Emess
|
  |
| Joined: 01 Apr 2010 |
| Total Posts: 13331 |
|
|
| 27 Mar 2011 03:51 PM |
| wat about lep yrs?!?!?!?!?!! |
|
|
| Report Abuse |
|
|
|
| 27 Mar 2011 03:52 PM |
Post in "Look what I made!".
Also tick()%365.25 |
|
|
| Report Abuse |
|
|
|
| 27 Mar 2011 03:52 PM |
| Emess has a point, what about leap years. |
|
|
| Report Abuse |
|
|
| |
|
Legend26
|
  |
| Joined: 08 Sep 2008 |
| Total Posts: 10586 |
|
|
| 27 Mar 2011 03:56 PM |
@Term,
The were skipped. UNIX time completely skips over them. |
|
|
| Report Abuse |
|
|
| |
|
| |
|