Company
Date Published
Author
Jennifer Reif
Word count
1820
Language
English
Hacker News points
None

Summary

Cypher Sleuthing: Dealing with Dates, Part 3 discusses accessing date and time components in Cypher, including temporal instant types and duration values. The post explains how to access specific parts of durations, such as hours, minutes, and weeks, using various functions like `inHours()`, `inMinutesOfHour()`, and `weeks`. It also covers translating duration values to different precisions, converting between units within the same category, and dealing with components in multiple categories. The post provides examples, such as calculating the number of days a blog post has been published or determining the most popular day of the week for orders. Additionally, it highlights the limitations of certain component conversions and offers resources for further learning.