PYSPARK ACADEMY • MODULE 08Date & Timestamp Functions
Parse date and timestamp strings, extract year, month, and day components, perform date arithmetic, and inject processing timestamps.
Intermediate📚 8 Lessons⭐ 0 / 2700 XP⏳ In Progress
0 / 8 Lessons Completed (0%) LESSON 57🔓 Injecting Current Date with current_date()
⏱ 2 Mins • ⭐ 300 XP • Intermediate
LESSON 58🔒 Injecting Current Timestamp with current_timestamp()
⏱ 2 Mins • ⭐ 310 XP • Intermediate
LESSON 59🔒 Parsing Date Strings with to_date()
⏱ 2 Mins • ⭐ 320 XP • Intermediate
LESSON 60🔒 Parsing Timestamps with to_timestamp()
⏱ 2 Mins • ⭐ 330 XP • Intermediate
LESSON 61🔒 Extracting Calendar Year with year()
⏱ 2 Mins • ⭐ 340 XP • Intermediate
LESSON 62🔒 Extracting Calendar Month with month()
⏱ 2 Mins • ⭐ 350 XP • Intermediate
LESSON 63🔒 Extracting Day of Month with dayofmonth()
⏱ 2 Mins • ⭐ 360 XP • Intermediate
LESSON 64🔒 Date Arithmetic with date_add() and date_sub()
⏱ 3 Mins • ⭐ 390 XP • Intermediate