Jump to content
Sign in to follow this  
Ult902

@HOUR,12

Recommended Posts

Ult902

been a while. just need 12 hour time displayed whenever i use @hour

it's going to be used in this format: "text" & @hour & "more text" @min

i really can't find anything in the readme or here

Share this post


Link to post
Share on other sites
Richard Robertson

If @HOUR > 12 Then
    $HOUR = @HOUR - 12
ElseIf @HOUR = 0 Then
    $HOUR = 12
Else
    $HOUR = @HOUR
EndIf

"text" & $hour & "more text" & @min

Edited by Richard Robertson

Share this post


Link to post
Share on other sites
Valuater

If @HOUR > 12 Then
    $HOUR = @HOUR - 12
Else
    $HOUR = @HOUR
EndIf

"text" & $hour & "more text" & @min

what if @hour = 0 (24th hour)

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites
Richard Robertson

what if @hour = 0 (24th hour)

8)

You seem to have misquoted me. ^_^

Share this post


Link to post
Share on other sites
Valuater

You seem to have misquoted me. ^_^

Geeze... I guess your right... ;)

8)


NEWHeader1.png

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  

×