Date – Time Functions

Date and Time Functions Explained with Examples

Calculate Quarters Between two Dates in Excel VBA

Calculate Quarters Between two Dates

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 Quarters Between two Dates in Excel VBA Read More »

Calculate Minutes Between two Times in Excel VBA

Calculate Minutes Between two Dates

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 Minutes Between two Times in Excel VBA Read More »

Calculate Seconds Between two Times in Excel VBA

Calculate seconds Between two times

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 Seconds Between two Times in Excel VBA Read More »

Calculate Years Between two Dates in Excel VBA

Calculate Years Between two Dates

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 Years Between two Dates in Excel VBA Read More »

Calculate Months Between two Dates in Excel VBA

Calculate Months Between two Dates

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 Months Between two Dates in Excel VBA Read More »

Calculate Difference Between two Times in Excel VBA

Calculate Difference Between two Times

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 Times in Excel VBA Read More »

Calculate Difference Between two Dates in Excel VBA

Calculate Difference Between two Dates FI

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 …

Calculate Difference Between two Dates in Excel VBA Read More »

VBA Get Previous Date using VBA Functions

VBA Get Previous Date

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 …

VBA Get Previous Date using VBA Functions Read More »

Get Previous Year using VBA Functions

VBA Get Previous Year

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 Previous Year using VBA Functions Read More »

Get Current Year using VBA Functions

VBA Get current Year

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 Current Year using VBA Functions Read More »

Get Next Year from Date using VBA Functions

VBA Get Next Year

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 …

Get Next Year from Date using VBA Functions Read More »

Current Thursday Date of This Week using VBA Functions

VBA Current Thursday

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 Thursday Date of This Week using VBA Functions Read More »

Current Friday Date of This Week using VBA Functions

VBA Current Friday

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 Friday Date of This Week using VBA Functions Read More »

Current Saturday Date of This Week using VBA Functions

VBA Current Saturday

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 …

Current Saturday Date of This Week using VBA Functions Read More »