---
title: "Discussion on \"Learning the 'time' Module and strftime() Function in Python\" | Hashnode"
description: "Discussion on \"Learning the 'time' Module and strftime() Function in Python\". Below is the Program to Greet you as per current time of your local system\nimport time\nimport time\ntimestamp=time.strftime('%H:%M:%S')\na=input(\"Enter your Name :\")\nprint(timestamp)\ntimestamp=time.strftime('%H')\nprint(timestamp)\n#timestamp=time.strfti..."
url: "https://hashnode.com/posts/learning-the-time-module-and-strftime-function-in-python/66f7a52767bf3708c7723ac6"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Learning the 'time' Module and strftime() Function in Python](https://pythonchallenge.hashnode.dev/learning-the-time-module-and-strftime-function-in-python?utm_source=hashnode&utm_medium=feed)

Below is the Program to Greet you as per current time of your local system import time import time timestamp=time.strftime('%H:%M:%S') a=input("Enter your Name :") print(timestamp) timestamp=time.strftime('%H') print(timestamp) #timestamp=time.strfti...

Sep 28, 2024 · 1 min read · pythonchallenge.hashnode.dev  
Read the article

-   [#codewithharry](https://hashnode.com/tag/codewithharry)
-   [#python](https://hashnode.com/tag/python)

## Written by

[Aakanchha Sharma](https://hashnode.com/@Aakanchha23)

@Aakanchha23 · India

  
[View profile](https://hashnode.com/@Aakanchha23)

Tech Enthusiast | Cloud Advocate | Backup Solutions Expert | Exploring Python and sharing insights!

👋 Welcome to my Hashnode blog! I'm a tech enthusiast and cloud advocate with expertise in IT, backup solutions, and cloud technologies. Currently, I’m diving deep into Python and exploring its applications in automation and data management. I share insights, tutorials, and tips on all things tech, aiming to help fellow developers and enthusiasts. Join me on this journey of learning and innovation!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
