Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » HOW TO PUT THE 12 HOUR TIME
- Infinity-Studios5674
- Scratcher
100+ posts
HOW TO PUT THE 12 HOUR TIME
set [hours v] to ((current [hour v]) mod (12))
if <(hours) = [0]> then
set [hours v] to [12]
end
if <(current [hour v]) < [12]> then
set [am or pm? v] to [am]
else
set [am or pm? v] to [pm]
end
..╭━━━━━━╮
╭┃ ╭━━━━╮
┃┃ ╰━━━━╯
┃┃
amongus
- joincom12
- Scratcher
25 posts
HOW TO PUT THE 12 HOUR TIME
HI THANKS A LOT LOT MY FRIEND
Last edited by joincom12 (Aug. 28, 2021 06:24:49)
- Discussion Forums
- » Help with Scripts
- » HOW TO PUT THE 12 HOUR TIME