Jump to content

Hour Calculator


Recommended Posts

Hello.

I want to make a Hour Calculator. But I don't know how to make. I'm not verry good in mathematics. Can somebody help me?

Thanks a lot

Do you want one to wear on your wrist or to hang on the wall? Either way, Walmart sells a wide variety of "hour calculators". Ask for "watches" or "clocks"... :P
...by the way, it's pronounced: "JIF"... Bob Berry --- inventor of the GIF format
Link to comment
Share on other sites

Do you want one to wear on your wrist or to hang on the wall? Either way, Walmart sells a wide variety of "hour calculators". Ask for "watches" or "clocks"... :P

Here is one I found in Srcipts and Scraps

$ToD = ""
SplashTextOn("ToD", $ToD, 100, 36, 800, -1, 17, "", 24, 800)
$minute = 61
While 1
  If $minute <> @MIN Then
    $minute = @MIN
    If @HOUR > 12 Then
      $TheHour = @HOUR - 12
    Else
      $TheHour = @HOUR
    EndIf
    $ToD = $TheHour & ":" & $minute
    ControlSetText("ToD", "", "Static1", $ToD)
  EndIf
  Sleep(250)
WEnd

Not mine I should add.


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...