Program - function to print the India Time


Topic: Program - function to print the India Time

Solution

def get_India_time():
    import datetime, pytz
    print(datetime.datetime.now( pytz.timezone('Asia/kolkata') ))



List all Python Programs