Sympa::Tools::Time(3Sympa)

πŸ’– Sympa::Tools::Time πŸ’–

okay bestie, welcome to Sympa::Tools::Time β€” that's the 3Sympa manual page from sympa, and she is exactly what she sounds like: the time girlies of the Sympa Perl toolkit. clocks, epochs, midnights, microseconds… it's giving temporal main character energy. πŸ•°οΈβœ¨


🌸 NAME 🌸

Sympa::Tools::Time β€” time-related functions πŸŽ€

✨ DESCRIPTION ✨

so basically this package hands you a lil bundle of time-related functions. that's the whole vibe. no cap. πŸ¦‹

🧚 Functions

  • date_conv ( $arg ) β€” Function. TBD. like, the docs literally say TBD bestie, i'm not gonna invent lore for her πŸ’€
  • duration_conv ( $arg, [ $startdate ] ) β€” Function. Also TBD. πŸ™ˆ she's mysterious, she's lowkey undocumented, we respect her privacy.
  • epoch_conv ( $arg ) β€” Function. Converts a human format date into an Unix time. (and yeah… also TBD. 😭 iconic honestly)
  • get_midnight_time ( $time ) β€” Function. Returns the Unix time corresponding to the last midnight before date given as argument. πŸ•› like she rewinds you to the most recent midnight, the last one that already happened before your date. so slay.
  • gettimeofday ( ) β€” Function. Returns an array "(second, microsecond)" of current Unix time. ⏱️

and listen: if your system does not have the gettimeofday(2) system call, this function emulates it. she'll fake it till she makes it, no shame. πŸ’…


πŸ‘‘ HISTORY πŸ‘‘

  • Sympa::Tools::Time appeared on Sympa 6.2a.37. 🌱
  • gettimeofday() function was introduced on Sympa 6.2.10. ⭐

and that's the whole page, bestie!! 🫢 this was sympa 6.2.80, dated 2026-10-19, and yes this is Sympa::Tools::Time(3Sympa) β€” go forth and timestamp responsibly. periodt. πŸ’–βœ¨πŸŒΈπŸ¦‹πŸŽ€

πŸ“¦ where this page comes from