ri > DateAndTime

📅 DateAndTime

From /home/chedong/.local/share/rdoc

🟢 NAME

DateAndTime — Module for date and time operations (source location: /home/chedong/.local/share/rdoc)

🚀 Quick Reference

Use CaseCommandDescription
Get current date & timeTime.nowReturns the current system time
Parse a date stringDate.parse("2025-01-01")Convert a string to a Date object
Format a date/timeTime.now.strftime("%Y-%m-%d")Format datetime into a readable string
Calculate difference(date1 - date2).to_iGet days between two dates
DateAndTime
📅 DateAndTime 🟢 NAME 🚀 Quick Reference

Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-27 15:24 @216.73.216.194
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format