How to Get Tomorrow’s Date in TypeScript

calculate tomorrow's date in typescript

While building a minor feature in our internal HR tool, I had to show the date for the next day based on user actions. Since we’re using TypeScript for the frontend, I looked into a few clean and reliable ways to calculate tomorrow’s date. In this tutorial, I’ll explain how to get tomorrow’s date in … Read more >>

Difference Between Enums vs String Literal Unions in TypeScript

TypeScript Enums vs Types Explained with Examples

When working with TypeScript, developers often need to reuse the methods or variables in many places or need clear labels. In TypeScript, String literal unions are simple and best for one-time use cases, and Enums give more structure and are useful when the options are reused in many places or need clear labels. Use string … Read more >>

How to Compare Dates Without Time in TypeScript

compare Dates Without Time in TypeScript

Recently, while working on a TypeScript feature for an internal tool, I needed to compare two dates, but only the date part, not the time. At first, I thought it would be straightforward, but I realised there are multiple ways to do it, and the results can vary depending on the method used. I tried … Read more >>

How to Get the Current Date in Milliseconds Using TypeScript

Get current date in milliseconds in typescript

While working as a Typescript developer on time-sensitive applications, I recently faced an issue where I needed to accurately capture and manipulate timestamps. It’s one of those settings that can make a big difference, especially when logging events, syncing data, or tracking real-time user actions. In this tutorial, I will explain how to get the … Read more >>

Difference Between void and undefined in TypeScript

void and undefined in TypeScript

In TypeScript, void and undefined are two distinct types that often cause confusion among developers. While they may seem similar at first glance, they serve different purposes and have unique characteristics. In this tutorial, we’ll dive deep into the difference between void and undefined in TypeScript, explore their use cases, and provide clear examples to … Read more >>

How to Get the Month from a Date in TypeScript

Get month from date in Typescript

Whether you’re working on a calendar app, generating reports, or performing date-based calculations, retrieving the month from a date is a common task. We’ll explore different methods to accomplish this and provide practical examples along the way. In this tutorial, I will explain how to extract the month from a date object in TypeScript. Understanding … Read more >>

Difference Between boolean and Boolean in TypeScript

Difference Between boolean and Boolean in TypeScript

You must have used the boolean data type in any programming language, which displays a true or false value. But we also have primitive and object types of boolean available. In this tutorial, I will explain the difference between boolean and Boolean in TypeScript. This distinction is crucial for developers working with TypeScript, as using … Read more >>

How to Format Dates in TypeScript

Format date for locale in Typescript

Formatting dates properly in TypeScript can be a crucial requirement, especially in applications that involve scheduling, logging, or displaying timelines. For example, date values are in a standard format, such as ISO (2025-05-06T12:34:56Z), and need to be converted into a more readable or user-friendly format for reports, UI displays, or data processing. In this tutorial, … Read more >>

Difference Between String and string in TypeScript

String instance in TypeScript

You must have used the String data type in any programming language to store character values. However, TypeScript also has primitive and object types of string available. In this tutorial, I will explain the difference between String and string in TypeScript, a popular programming language used for web development. Understanding this distinction is crucial for … Read more >>

How to Get the Day of the Month in TypeScript?

Recently, I was working on a project that required me to extract the day of the month from a date in TypeScript. This is a common requirement when building date-related features like calendars, scheduling applications, or any system that needs to parse dates. In this tutorial, I will show you several methods to extract the … Read more >>

51 Python Programs

51 PYTHON PROGRAMS PDF FREE

Download a FREE PDF (112 Pages) Containing 51 Useful Python Programs.

pyython developer roadmap

Aspiring to be a Python developer?

Download a FREE PDF on how to become a Python developer.

Let’s be friends

Be the first to know about sales and special discounts.