Sign in to follow this  
Followers 0
Guest FOR FUN

MORE TIME

3 posts in this topic

#1 ·  Posted (edited)

Here is something is made. I don't know if anyone else has made something like this. :D

It shows the time in 12 hours. With am and pm :huh2::)

ampm ()
func ampm ()
  if @HOUR>12 THEN
    Global $our=@HOUR-12
    Global $ap="P.M."
  else
    Global $our=@HOUR
    Global $ap="A.M."
  endif

  if $our=0 then
    $our=12
  endif
endfunc


$box=-1

do
 ampm ()

 $box=MsgBox(0+64, "Time", "The time is: " & $our & ":" & @MIN & ":" & @SEC & " " & $ap, 1)

until $box=1
Edited by Larry

Share this post


Link to post
Share on other sites



Edited by Larry?! Why?

Share this post


Link to post
Share on other sites

Edited by Larry?! Why?

My guess: Larry edited it to Tidy the post... :D

Kendall

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0