Tag: minutes
Linux: Find files modified in last N minutes
In this article, we will discuss how to find files in Linux / Unix, that are modified in last few minutes using the find command. Table of Contents Overview of find command in Linux. Syntax of find command with “-mmin n” option. Find files modified in last 5 minutes in Linux. Find files modified in …
Python: Get difference between two datetimes in minutes
In this article, we will discuss how to get the difference between two datetimes in minutes in python. Python provides a module datetime for manipulation of date and time. It consists of following classes, datetime.date : An object of date class specifies a date using year, month and day datetime.time : An object of time …
Python: Get difference between two datetimes in minutesRead More
How to add minutes to datetime in python?
In this article, we will be discussing three different ways to add minutes to a given timestamp in python. Using timedelta, pandas or relativedelta. Suppose we have a timestamp as string format and we want to add N minutes to it. Here N can be any number. But the catch is that, we want the …
Add minutes to current time in Python?
Learn about different ways to add a few minutes to current time in python. We will be doing it in three ways using timedelta, pandas or relativedelta. Add minutes to current time in Python using timedelta Python provides a module datetime for manipulation of date and time. It consists of following classes – date, time, …
Subtract minutes from datetime in Python
In this article, we will discuss three different ways to subtract minutes from a given timestamp in python using timedelta, pandas or relativedelta. Suppose you have a timestamp as string and you want to subtract N minutes from it, where N can be any number. But you want the final timestamp after subtracting N minutes, …
Convert timedelta to minutes in Python
This article will discuss how we can convert the datetime module’s timedelta object to total minutes. A little background of the problem in hand, The datetime.timedelta in the datetime module represents the difference between two dates, time, or datetime objects. For example, we have two timestamps as datetime objects, from datetime import datetime start_timestamp = …
Deploy Node.js Serverless Function in Minutes with Google Cloud
Deploy a Node.js Serverless Function in Minutes with Google Cloud. This post describes how to create a Cloud Function with Node.js on Google Cloud Platform. Prerequisites A Google Cloud Account with a project and billing enabled. Benefits of a serverless function The code itself can be directly deployed in an isolated cloud function. The function …
Deploy Node.js Serverless Function in Minutes with Google CloudRead More
How to create a blog in less than 20 minutes
Everyone should create a blog. Because everyone has something to say! Blogging has become a part of us, a very important part of us. No matter what you do, a blog could help you! You can create a blog in Nigeria, Kenya, Ghana, South Africa, the United States, India, or any country in the world …