SlideShare a Scribd company logo
1 of 21
YTD, QTD, MTD
AND DATE FUNCTIONS
IN TABLEAU
PRESENTED BY:
PRANALI SHIVAJI SHIRURKAR
29TH AUGUST, 2022
INTRODUCTION
• YTD : Year to Date
• PYTD : Previous Year to date
• LYTD : Last Year to date
• QTD : Quarter to Date
• PQTD : Previous Quarter to date
• LQTD : Last Quarter to date
• MTD : Month to Date
• PMTD : Previous Month to date
• LMTD : Last Month to date
Two types of years prevail in the corporate
world. These two years are the Fiscal Year and
the Calendar Year. The similarity between these
years is that these lasts for 365 days or twelve
consecutive months. The calendar year begins in
the first of January and ends on 31st December
every year, while a fiscal year can begin on any
day of the year but will end on exactly the 365th
day of that year.
FISCAL YEAR Vs CALENDAR YEAR
YEAR
January
February
March
April
May
June
July
August
September
October
November
December
YTD
QTD MTD
DEFINITION
 YTD :
YTD is the period between the first day of the calendar year and the current date.
 QTD :
Quarter-to-date is a period starting at the beginning of the current quarter and ending at the current date. Quarter-to-date is
used in many contexts, mainly for recording results of an activity in the time between a date and the beginning of either the
calendar or fiscal quarter.
 MTD :
Month-to-date is a period starting at the beginning of the current calendar month and ending at the current date. Month-to-
date is used in many contexts, mainly for recording results of an activity in the time between a date and the beginning of the
current month
 PYTD
PYTD refers to the period beginning from the first day of the previous calendar year or fiscal year to the date equivalent to
the current day from the previous year.
 PQTD
Previous quarter to date is the period starting from the beginning of last quarter and ending at the current day of last
quarter
 PMTD
Previous month to date is the period starting from the beginning of last calendar month and ending at the current day of
last month.
YTD QTD MTD
01/01/2022 + all values up to
29/08/2022
01/07/2022 + all values up to
29/08/2022
01/08/2022 + all values up to
29/08/2022
Current Year 2022
PYTD PQTD PMTD
01/01/2021 + all values up to
29/08/2021
01/04/2022 + all values up to
29/05/2022
01/07/2022 + all values up to
29/07/2022
LYTD LQTD LMTD
01/01/2020 + all values up to
29/08/2020
01/07/2020 + all values up to
29/08/2020
01/08/2020 + all values up to
29/08/2020
DATE_PART VALUES
'year' Four-digit year
'quarter' 1-4
'month' 1-12 or "January", "February", and so
on
'dayofyear' Day of the year; Jan 1 is 1, Feb 1 is 32,
and so on
'day' 1-31
'weekday' 1-7 or "Sunday", "Monday", and so on
'week' 1-52
'hour' 0-23
'minute' 0-59
'second' 0-60
'iso-year' Four-digit ISO 8601 year
'iso-quarter' 1-4
'iso-week' 1-52, start of week is always Monday
'iso-weekday' 1-7, start of week is always Monday
The valid date _ part values at a glance
DATE FUNCTIONS IN TABLEAU
1. DATETRUNC
Truncates the specified date to the accuracy specified by the date _ part. This function returns a new date
SYNTAX: DATETRUNC(date _ part, date, [start _ of _ week])
Eg: DATETRUNC(‘quarter’,#2022-08-15#) = 2022-07-01 12:00:00 AM
DATETRUNC(‘year’,#2022-08-15#) = 2022-01-01 12:00:00 AM
2. DATEADD
Returns the specified date with the specified number interval added to the specified date _ part of that date
SYNTAX: DATEADD(date _ part, interval, date)
Eg: DATEADD('month', 3, #2022-08-15#) = 2022-11-15 12:00:00 AM
The expression adds three months to the date.
3. DATEIFF
Returns the difference between date _ 1 and date _ 2 expressed in units of date _ part.
SYNTAX : DATEIFF(date _ part, start _ date, end _ date, [ start _ of _ week])
Eg : DATEDIFF('week', #2013-09-22#, #2013-09-24#, ‘ monday’) = 1
DATEDIFF('week', #2013-09-22#, #2013-09-24#, ‘ sunday ’) = 0
4. DATEPARSE
Converts a string into a date in a specified format
SYNTAX : DATEPARSE(date _ format, [date _ string])
Eg : DATEPARSE(“dd.MMMM.yyyy”, “15.April.2004”) = 2004-04-15 12:00:00 AM
5. TODAY
Returns the current date.
SYNTAX : TODAY()
Eg : TODAY() = 2022-08-29
6. DATENAME :
Returns date _ part of date as a string
SYNTAX : DATENAME(date _ part, date, [start_of_week])
Eg : DATEPART('year', #2004-04-15#) = 2004
7. MAX :
Returns the maximum of A and B (A and B must be of the same type). Returns Null if either argument is NULL
SYNTAX : MAX(expression) or MAX(expr1, expr2)
Eg : MAX(#2004-01-01# , #2004-03-01#) = 2004-03-01 12:00:00 AM
8. DAY
Returns the day of a date as an integer
SYNTAX : DAY(date)
Eg : DAY(#2022-08-15#) = 15
9. ISDATE
It is a condition function that returns True if a given value or string is a date.
SYNTAX : ISDATE(string)
Eg : ISDATE(“August 15, 2022”) = True
10. MAKEDATE
Returns a date value constructed from the specified year, month, and date
SYNTAX : MAKEDATE(year, month, day)
Eg : MAKEDATE(2022, 8, 15) = # August 15, 2022#
11. MAKEDATETIME
Returns a datetime that combines a date and a time. The date can be a date, datetime, or a string type. The time must be a datetime
SYNTAX : MAKEDATETIME(date, time)
MAKEDATETIME(“2022-8-15", #07:59:00#) = #08/15/2022 7:59:00 AM#
12. MAKETIME
Returns a date value constructed from the specified hour, minute, and second
SYNTAX : MAKETIME(hour, minute, second)
Eg : MAKETIME(14, 52, 40) = #14:52:40#
13. MIN
Returns the minimum of a and b (a and b must be of same type). Returns NULL if either argument is NULL
SYNTAX : MIN(expression) or MIN(expr1, expr2)
Eg : MIN(#2004-01-01# ,#2004-03-01#) = 2004-01-01 12:00:00 AM
14. MONTH
Returns the month of the given date as an integer
SYNTAX : MONTH(date)
Eg : MONTH(#2022-08-15#) = 8
15. NOW
Returns the current local system date and time
SYNTAX : NOW( )
Eg : NOW( ) = 2022-08-15 1:08:21 PM
16. QUARTER
Returns the quarter of the given date as an integer.
SYTAX : QUARTER ( )
Eg : QUARTER(#2022-08-15) = 3
17. WEEK
Returns the week of the given date as an integer
SYNTAX : WEEK()
Eg : WEEK(#2004-04-15) = 16
18. YEAR
Returns the year of the given date as an integer
SYNTAX : YEAR(date)
Eg : YEAR(#2022-08-15#) = 2022
YTD, QTD & MTD.pptx

More Related Content

Recently uploaded

Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
Health
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
MayuraD1
 

Recently uploaded (20)

Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Air Compressor reciprocating single stage
Air Compressor reciprocating single stageAir Compressor reciprocating single stage
Air Compressor reciprocating single stage
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

YTD, QTD & MTD.pptx

  • 1. YTD, QTD, MTD AND DATE FUNCTIONS IN TABLEAU PRESENTED BY: PRANALI SHIVAJI SHIRURKAR 29TH AUGUST, 2022
  • 2. INTRODUCTION • YTD : Year to Date • PYTD : Previous Year to date • LYTD : Last Year to date • QTD : Quarter to Date • PQTD : Previous Quarter to date • LQTD : Last Quarter to date • MTD : Month to Date • PMTD : Previous Month to date • LMTD : Last Month to date
  • 3. Two types of years prevail in the corporate world. These two years are the Fiscal Year and the Calendar Year. The similarity between these years is that these lasts for 365 days or twelve consecutive months. The calendar year begins in the first of January and ends on 31st December every year, while a fiscal year can begin on any day of the year but will end on exactly the 365th day of that year. FISCAL YEAR Vs CALENDAR YEAR
  • 5. DEFINITION  YTD : YTD is the period between the first day of the calendar year and the current date.  QTD : Quarter-to-date is a period starting at the beginning of the current quarter and ending at the current date. Quarter-to-date is used in many contexts, mainly for recording results of an activity in the time between a date and the beginning of either the calendar or fiscal quarter.  MTD : Month-to-date is a period starting at the beginning of the current calendar month and ending at the current date. Month-to- date is used in many contexts, mainly for recording results of an activity in the time between a date and the beginning of the current month
  • 6.  PYTD PYTD refers to the period beginning from the first day of the previous calendar year or fiscal year to the date equivalent to the current day from the previous year.  PQTD Previous quarter to date is the period starting from the beginning of last quarter and ending at the current day of last quarter  PMTD Previous month to date is the period starting from the beginning of last calendar month and ending at the current day of last month.
  • 7. YTD QTD MTD 01/01/2022 + all values up to 29/08/2022 01/07/2022 + all values up to 29/08/2022 01/08/2022 + all values up to 29/08/2022 Current Year 2022 PYTD PQTD PMTD 01/01/2021 + all values up to 29/08/2021 01/04/2022 + all values up to 29/05/2022 01/07/2022 + all values up to 29/07/2022 LYTD LQTD LMTD 01/01/2020 + all values up to 29/08/2020 01/07/2020 + all values up to 29/08/2020 01/08/2020 + all values up to 29/08/2020
  • 8.
  • 9. DATE_PART VALUES 'year' Four-digit year 'quarter' 1-4 'month' 1-12 or "January", "February", and so on 'dayofyear' Day of the year; Jan 1 is 1, Feb 1 is 32, and so on 'day' 1-31 'weekday' 1-7 or "Sunday", "Monday", and so on 'week' 1-52 'hour' 0-23 'minute' 0-59 'second' 0-60 'iso-year' Four-digit ISO 8601 year 'iso-quarter' 1-4 'iso-week' 1-52, start of week is always Monday 'iso-weekday' 1-7, start of week is always Monday The valid date _ part values at a glance
  • 10. DATE FUNCTIONS IN TABLEAU 1. DATETRUNC Truncates the specified date to the accuracy specified by the date _ part. This function returns a new date SYNTAX: DATETRUNC(date _ part, date, [start _ of _ week]) Eg: DATETRUNC(‘quarter’,#2022-08-15#) = 2022-07-01 12:00:00 AM DATETRUNC(‘year’,#2022-08-15#) = 2022-01-01 12:00:00 AM
  • 11. 2. DATEADD Returns the specified date with the specified number interval added to the specified date _ part of that date SYNTAX: DATEADD(date _ part, interval, date) Eg: DATEADD('month', 3, #2022-08-15#) = 2022-11-15 12:00:00 AM The expression adds three months to the date.
  • 12. 3. DATEIFF Returns the difference between date _ 1 and date _ 2 expressed in units of date _ part. SYNTAX : DATEIFF(date _ part, start _ date, end _ date, [ start _ of _ week]) Eg : DATEDIFF('week', #2013-09-22#, #2013-09-24#, ‘ monday’) = 1 DATEDIFF('week', #2013-09-22#, #2013-09-24#, ‘ sunday ’) = 0
  • 13. 4. DATEPARSE Converts a string into a date in a specified format SYNTAX : DATEPARSE(date _ format, [date _ string]) Eg : DATEPARSE(“dd.MMMM.yyyy”, “15.April.2004”) = 2004-04-15 12:00:00 AM 5. TODAY Returns the current date. SYNTAX : TODAY() Eg : TODAY() = 2022-08-29
  • 14. 6. DATENAME : Returns date _ part of date as a string SYNTAX : DATENAME(date _ part, date, [start_of_week]) Eg : DATEPART('year', #2004-04-15#) = 2004 7. MAX : Returns the maximum of A and B (A and B must be of the same type). Returns Null if either argument is NULL SYNTAX : MAX(expression) or MAX(expr1, expr2) Eg : MAX(#2004-01-01# , #2004-03-01#) = 2004-03-01 12:00:00 AM
  • 15. 8. DAY Returns the day of a date as an integer SYNTAX : DAY(date) Eg : DAY(#2022-08-15#) = 15 9. ISDATE It is a condition function that returns True if a given value or string is a date. SYNTAX : ISDATE(string) Eg : ISDATE(“August 15, 2022”) = True
  • 16. 10. MAKEDATE Returns a date value constructed from the specified year, month, and date SYNTAX : MAKEDATE(year, month, day) Eg : MAKEDATE(2022, 8, 15) = # August 15, 2022# 11. MAKEDATETIME Returns a datetime that combines a date and a time. The date can be a date, datetime, or a string type. The time must be a datetime SYNTAX : MAKEDATETIME(date, time) MAKEDATETIME(“2022-8-15", #07:59:00#) = #08/15/2022 7:59:00 AM#
  • 17. 12. MAKETIME Returns a date value constructed from the specified hour, minute, and second SYNTAX : MAKETIME(hour, minute, second) Eg : MAKETIME(14, 52, 40) = #14:52:40# 13. MIN Returns the minimum of a and b (a and b must be of same type). Returns NULL if either argument is NULL SYNTAX : MIN(expression) or MIN(expr1, expr2) Eg : MIN(#2004-01-01# ,#2004-03-01#) = 2004-01-01 12:00:00 AM
  • 18. 14. MONTH Returns the month of the given date as an integer SYNTAX : MONTH(date) Eg : MONTH(#2022-08-15#) = 8 15. NOW Returns the current local system date and time SYNTAX : NOW( ) Eg : NOW( ) = 2022-08-15 1:08:21 PM
  • 19. 16. QUARTER Returns the quarter of the given date as an integer. SYTAX : QUARTER ( ) Eg : QUARTER(#2022-08-15) = 3 17. WEEK Returns the week of the given date as an integer SYNTAX : WEEK() Eg : WEEK(#2004-04-15) = 16
  • 20. 18. YEAR Returns the year of the given date as an integer SYNTAX : YEAR(date) Eg : YEAR(#2022-08-15#) = 2022