Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • What is TimeTuple in python ?

    • 0
    • 1
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 374
    Comment on it

    In Python time functions handle time as a tuple of 9 numbers, given below example

    0
    4-digit year
    2008
    1
    Month
    1 to 12
    2
    Day
    1 to 31
    3
    Hour
    0 to 23
    4
    Minute
    0 to 59
    5
    Second
    0 to 61 (60 or 61 are leap-seconds)
    6
    Day of Week
    0 to 6 (0 is Monday)
    7
    Day of year
    1 to 366 (Julian day)
    8
    Daylight savings
    -1, 0, 1, -1 means library determines DST

    Note- its help to make time and date setup in python project

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: