Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- min = min + 1;
- if min == 60 then min=0;
- hr = hr + 1;
- end
- if hr == 13 then
- hr = 1;
- end
- if hr == 24 then
- hr = 12;
- end
- if hr == 24 and
- min == 0 then
- dot = "am"
- end
- if hr == 12 and
- min == 0 then
- dot = "pm"
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement