1. Hey! Guest! The 32nd GMC Jam will take place between Feb 22nd, 12:00 UTC (Friday noon) and Feb 25th, 12:00 UTC (Monday noon). Why not join in! Click here to find out more!
    Dismiss Notice

GMS 2 is hour always in 24-hours format (SOLVED)

Discussion in 'Programming' started by Tornado, Feb 10, 2019.

  1. Tornado

    Tornado Member

    Joined:
    Sep 9, 2016
    Posts:
    438
    I have a question about the variable current_hour and the function date_get_hour(date).
    Are they always giving the hours in 24-hours format? (independent of the locale).
    THX
     
  2. FrostyCat

    FrostyCat Member

    Joined:
    Jun 26, 2016
    Posts:
    3,559
    Both always give the value in 24-hour format.
     
    Tornado likes this.
  3. Tornado

    Tornado Member

    Joined:
    Sep 9, 2016
    Posts:
    438
    Thank you!
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice