Programming Tips
Published in

Programming Tips

Rahul Banerjee
Rahul Banerjee

Mar 29, 2021

·
2 min read
·

#Day8 — Datetime CheatSheet in Python

Today we will be discussing the common operations using the Datetime Library in Python

1. Get Current Datetime

2. Datetime to a string in the desired format

--

--

More from Programming Tips

Content related to programming: tips, code-snippets, concepts.

Read more from Programming Tips

Recommended from Medium

Justin Levinsohn

Justin Levinsohn

in

Instrument Stories

Just How Practical Are Starter Kits?

Vladislav Kopylov

Vladislav Kopylov

How to preload associations for STI-model

Anton Babenko

Anton Babenko

weekly.tf — Issue #85 — Modules illustrated, pre-commit-terraform, Building Terraform Provider, EKS…

Kevin Davis

Kevin Davis

in

Kava Labs Blog

Kava REST Server Guide

Jacobs Data Solutions

Jacobs Data Solutions

in

Software Alchemy

A Basic Intro to Domain-Driven Design

Pranav T P

Pranav T P

Create a serverless microservice in aws to retrieve weather information for any location in the…

SFDC Brewery

SFDC Brewery

Kubernetes introduction and how it’s helping Salesforce scale

Satakshi Garg

Satakshi Garg

Google Code Jam Qualification 2021 Experience

AboutHelpTermsPrivacy


Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Get unlimited access
Rahul Banerjee

Rahul Banerjee

675 Followers

Software Developer | Views are my own

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech