Sisima...ateTime(3pm)
π Sisimai::DateTime β the 3pm manual, but make it cute π
okay bestie, welcome to the Sisima...ateTime(3pm) page β that's the truncated glow-up of Sisimai::DateTime(3pm), straight outta User Contributed Perl Documentation. date and time stuff, but make it slay β¨
β¨ NAME β¨
Sisimai::DateTime β date and time utilities. that's it, that's the whole vibe π
π¦ SYNOPSIS π¦
use Sisimai::DateTime;
my $v = 'Sat Mar 1 13:47:46 JST 2014';
print Sisimai::DateTime->parse($v); # Sat, 1 Mar 2014 13:47:46 +0900
look at her go π one string in, one beautifully normalized date string out. no cap.
πΈ DESCRIPTION πΈ
Sisimai::DateTime provide methods for dealing date and time. yes, literally just that β she's a date-and-time utility module and she knows it. main character energy fr fr π
π CLASS METHODS π
π parse(Date string)
parse() method converts a various date format string. throw literally any chaotic date format at her and she'll hand you back something civilized π«Ά
my $x = 'Fri, 9 Apr 2004 04:01:03 +0000 (GMT)';
my $y = '27 Apr 2009 08:08:54 +0900';
print Sisimai::DateTime->parse($x); # Fri, 9 Apr 2004 04:01:03 +0000
print Sisimai::DateTime->parse($y); # Thu, 27 Apr 2009 08:08:54 +0900
notice how$ysays27 Apr 2009and she gives you backThu, 27 Apr 2009β she's adding the weekday herself, because she's thoughtful like that πβ¨
π§ abbr2tz(Abbr)
abbr2tz() method converts a time zone abbreviation to 4 digit string of time zone. tiny abbreviation in, tidy 4-digit offset out π
print Sisimai::DateTime->abbr2tz('JST'); # +0900
print Sisimai::DateTime->abbr2tz('UTC'); # +0000
print Sisimai::DateTime->abbr2tz('CDT'); # -0500
three letters in, +0900 / +0000 / -0500 out. iykyk π
π AUTHOR π
azumakuniyuki β the icon, the legend, the moment β
π COPYRIGHT π
Copyright (C) 2014-2025 azumakuniyuki, All rights reserved.
π LICENSE π
This software is distributed under The BSD 2-Clause License. go read it, it's short and it's giving generous π
and that's the whole page bestie, no skips, no cuts, every last crumb preserved ππ
sign-off time: this was rendered by perl v5.40.1 on 2026-07-05, and the page was filed under Sisima...ateTime(3pm) the whole time. periodt. πβ¨
π¦ where this page comes from
- ubuntu stonking: libsisimai-perl 5.7.0-1 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms