# Date – Time Functions

Date and Time Functions Explained with Examples

## VBA Month Number to Name in Excel VBA convert Month Number to Month Name using Excel VBA Functions. Convert or change Month Number to Name using Excel VBA ‘MonthName’ function function. It is very useful when we are dealing with date field data. Table of Contents: Objective Macro to Convert Month Number to Name in Excel VBA Instructions to Run VBA Macro …

## VBA Month Name to Number in Excel VBA convert Month Name to Month Number using Excel VBA Functions. Convert or change Month Name to number using VBA DateValue function and VBA Month function. Table of Contents: Overview Macro to Convert Month Name to Number in Excel VBA Instructions to Run VBA Macro Code Other Useful Resources Macro to Convert Month Name to …

## Calculate Quarters Between two Dates in Excel VBA Calculate Quarters Between two Dates in Excel VBA using VBA formulas. We use DateDiff VBA Function to determine the number of Quarters between two dates. In order to calculate number of Quarters between two dates we need start date and end date. It returns an integer value as a result. Table of Contents: Objective Macro …

## Calculate Minutes Between two Times in Excel VBA Calculate Minutes Between two Times in Excel VBA using VBA formulas. We use DateDiff VBA Function to determine the number of Minutes between two Times. In order to calculate number of Minutes between two Times we need start time and end time. It returns an integer value as a result. We use DateDiff function in …

## Calculate Seconds Between two Times in Excel VBA Calculate seconds Between two Times in Excel VBA using VBA formulas. We use DateDiff VBA Function to determine the number of seconds between two Times. In order to calculate number of seconds between two Times we need start time and end time. It returns an integer value as a result. Table of Contents: Overview Macro …

## Calculate Weeks Between two Dates in Excel VBA Calculate weeks Between two Dates in Excel VBA using VBA formulas. We use DateDiff VBA Function to determine the number of weeks between two dates. In order to calculate number of weeks between two dates we need start date and end date. It returns an integer value as a result. We use DateDiff function in …

## Calculate Years Between two Dates in Excel VBA Calculate Years Between two Dates in Excel VBA using VBA formulas. We use DateDiff VBA Function to determine the number of Years between two dates. In order to calculate number of Years between two dates we need start date and end date. It returns an integer value as a result. We use Excel DateDiff function …

## Calculate Months Between two Dates in Excel VBA Calculate Months Between two Dates in Excel VBA using VBA formulas. We use DateDiff VBA Function to determine the number of months between two dates. In order to calculate number of months between two dates we need start date and end date. It returns an integer value as a result. We use DateDiff function in …

## Calculate Difference Between two Times in Excel VBA Calculate Difference Between two Times in Excel VBA. Most of the time we wanted find differences of two Times. It’s a very regular and common exercise in Excel and VBA when dealing with times. We can find this using Excel VBA DateDiff function. In order to calculate we need start time and end time. It …

## Calculate Difference Between two Dates in Excel VBA Calculate Difference Between two Dates in Excel VBA. Most of the time we wanted find differences of two dates. It’s a very common and regular exercise in Excel and VBA when dealing with dates. We can find this using Excel VBA DateDiff function. In order to calculate we need start date and end date. It …

## VBA Get Previous Date using VBA Functions VBA get Previous Date using Excel VBA Functions. Date plays an important major role in data analysis to summarize data, to create graphs and dashboards based on date. We also format date using format function in multiple ways. Table of Contents: Objective Macro to find Previous Date using VBA Date Format in different ways Instructions …

## Get Previous Year using VBA Functions Get Previous Year from Today’s Date and specified date using Excel VBA Functions. Year plays an important major role as part of date. It helps in data analysis to summarize data, to create graphs and dashboards. We also format year using format function in two ways either two year digit(xx) or four year digit(xxxx). Table …

## Get Current Year using VBA Functions Get Current Year from Today’s Date using Excel VBA Functions. Year plays an important major role as part of date. It helps in data analysis to summarize data, create graphs and dashboards. We also format year using format function in two ways either two year digit(xx) or four year digit(xxxx). Table of Contents: Objective Macro1: …

## Get Next Year from Date using VBA Functions Get Next Year from Today’s Date using Excel VBA Functions. Year plays an important role as part of date. It helps in data analysis to summarize data, create graphs and dashboards. We also format year using format function. Table of Contents: Objective Macro1: VBA Get Year from specified date Macro2: VBA Get Year from today’s …

## VBA Get Month Name From Date in Excel Month plays an important role of a date. We can get month name from date in different ways. We can get month name using MonthName function and summarize data with it. Format name of the month by using format function. Table of Contents: Objective Macro: VBA Get Month Name Format Name of the Month Instructions …

## Current Thursday Date of This Week using VBA Functions Current Thursday Date using Excel VBA Functions Now, DateAdd,Format and WeekDay. We have different methods and ways to find Current Week Thursday date. You can find below two specified macros or procedures to find Current week Thursday date of this week using VBA functions. i.e Date, DateAdd, WeekDay and Format. We are trying to find …

## Current Friday Date of This Week using VBA Functions Current Friday Date using Excel VBA Functions Now, DateAdd,Format and WeekDay. We have different methods and ways to find Current Week Friday date. You can find below two specified macros or procedures to find Current week Friday date of this week using VBA functions. i.e Date, DateAdd, WeekDay and Format. We are trying to find …

## Current Saturday Date of This Week using VBA Functions Current Saturday Date using Excel VBA Functions Now, DateAdd,Format and WeekDay. We have different methods and ways to find Current Week Saturday date. You can find below two specified macros or procedures to find Current week Saturday date of this week using VBA functions. i.e Date, DateAdd, WeekDay and Format. We are trying to find …