Category: Dates

Jan 22, 2024

Dates - How to convert a month name (eg January, Feburary, March) to month number (eg, 1, 2, 3)

Do you need to convert a month name to the month number? If so, here's the formula to carry out this task.

Dates
Jul 26, 2023

Dates - How to format date day numbers with suffix (st nd rd th)

If you need to format or get the suffix for a day number (eg 1st, 2nd, 3rd), this post describes the formula you can use.

Dates
Mar 23, 2023

Formula - How to get the dates for the current week

Do you need to retrieve the days of the current week? If so, this post shows the formula to carry out this task.

Dates
Oct 24, 2022

Dates - How to calculate UK tax weeks

If you need to convert dates to UK tax weeks or generate a list of the start and end dates for tax weeks in a year, this post describes some formula that you can use.

Dates
Feb 17, 2022

Dates - How to convert dates from MM DD YYYY to DD MM YYYY and vice versa

This post describes how to convert dates in the US format "mm dd yyyy", to "dd mm yyyy" format.

Dates
Jan 20, 2022

Dates - How to detect overlapping times / scheduling conflicts

When building apps, there can often be the need to detect overlapping times. This post describes the methodology and formula to carry out this task.

Dates
Nov 29, 2021

Dates - How to display or convert Excel date serial numbers

Microsoft Excel stores dates as serial numbers. This post describes this behaviour and shows the formula to convert and display Excel date serial numbers in Power Apps.

Dates
Aug 23, 2021

Dates - How to get the start date from week number

When working with dates, there may be the requirement to derrive the start date of a week based on a week number. This post describes the formula to carry out this task.

Dates
Aug 17, 2021

Dates - How to check if a year is a leap year

Working with dates, it can sometimes be necessary to work out whether a given year is a leap year. This post describes a technique we can use to carry out this task.

Dates
Aug 16, 2021

Dates - How to get the week number for a given date

A common requirement is to calculate week numbers. Up till now, this task could be difficult to accomplish but now, Power Apps introduces the WeekNum and ISOWeekNum functions to help simplify this task. This post describes how these two new functions work.

Dates
Aug 13, 2021

Dates - How to get the nth weekday for a month

When building apps, it can be very useful to determine the nth workday in a month. For example, what's the 2nd Tuesday in a month, what's the 3rd Wednesday for a month, what's the first Monday (etc)? This post describes the formula to carry out this task.

Dates
Aug 12, 2021

Dates - How to get the last weekday for a month

When building apps, it can be very useful to determine the last workday in a month. For example, what's the last Thursday in a month? This post describes the formula to carry out this task.

Dates
Jul 04, 2021

Dates - How to get a numbered list of days or months, starting from a specified day or month

For date or scheduling diary type apps, it can be very useful to retrieve a list of days or months that begin on specific day or month. This post describes some formulas that we can use.

Dates
Jul 03, 2021

Controls - How to display dates in a combo box

The combo box control does not support the display of date values. This post examines this behaviour and describes a method to overcome this issue.

Dates
Jun 29, 2021

Search - How to filter records by month and year using a delegable expression

A common question I often see is - how do I filter a table or SharePoint list by month and year? This post describes how to carry out this task using formula that is delegable.

Dates