Skip to main content
PYSPARK ACADEMY • MODULE 08

Date & Timestamp Functions

Parse date and timestamp strings, extract year, month, and day components, perform date arithmetic, and inject processing timestamps.

Intermediate📚 8 Lessons0 / 2700 XP⏳ In Progress
0 / 8 Lessons Completed (0%)
CHALLENGE CURRICULUM

Module Lessons

0 / 8 Complete
LESSON 57

🔓 Injecting Current Date with current_date()

2 Mins300 XP Intermediate

LESSON 58

🔒 Injecting Current Timestamp with current_timestamp()

2 Mins310 XP Intermediate

LESSON 59

🔒 Parsing Date Strings with to_date()

2 Mins320 XP Intermediate

LESSON 60

🔒 Parsing Timestamps with to_timestamp()

2 Mins330 XP Intermediate

LESSON 61

🔒 Extracting Calendar Year with year()

2 Mins340 XP Intermediate

LESSON 62

🔒 Extracting Calendar Month with month()

2 Mins350 XP Intermediate

LESSON 63

🔒 Extracting Day of Month with dayofmonth()

2 Mins360 XP Intermediate

LESSON 64

🔒 Date Arithmetic with date_add() and date_sub()

3 Mins390 XP Intermediate