© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Incrementing a DateTime by one month without Duration.months - Effect Community
EC
Effect Community
•
9mo ago
johtso
Incrementing a DateTime by one month without Duration.months
How come there
's no Duration
.months
? how would I take a DateTime and increment it by one month
?
Oh I see
.
.
DateTime.add
DateTime.add
.
. kind of unclear on when I should be using that and when I should be using
addDuration
addDuration
Effect Community
Join
Production-grade applications in TypeScript.
6,221
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Supporting Duration as a Measure Beyond Months and Years
EC
Effect Community / 🚀-effect
3y ago
Getting Duration from a Schedule Without Waiting
EC
Effect Community / 🚀-effect
8mo ago
Possible Bug with TestClock and DateTime Duration Addition
EC
Effect Community / 🚀-effect
17mo ago
Branding `toX` Methods in `Duration`: A Discussion
EC
Effect Community / 🚀-effect
2y ago