--- title: "MAX function (Time & Date)" slug: "max-function-timedate" description: "Learn to apply the MAX function in Pigment to return the highest value across multiple inputs, whether numbers or dates." updated: 2025-10-29T14:35:55Z published: 2025-10-29T14:35:55Z canonical: "kb.pigment.com/max-function-timedate" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.pigment.com/llms.txt > Use this file to discover all available pages before exploring further. # MAX function (Time & Date) ## ​​​Description Returns the largest value among all given values. Data type can be numeric or date. `MAX(Value1 [, Value2] [, Value3] …)` For more information, see [MAX function (Numeric)](/v1/docs/max-function-numeric). ## See also Excel: [MAX](https://support.microsoft.com/en-us/office/max-function-e0012414-9ac8-4b34-9a47-73e662c08098) Related articles: [MIN](/v1/docs/min-function-numeric) > [!TIP] > More of a hands-on learner? > > Talk to your Customer Success Manager about downloading the Functions and Modifiers in Pigment Application into your workspace. It includes examples of every formula and modifier in Pigment!