perldoc > DateTime::Format::Builder::Parser::Strptime

đŸˇī¸ NAME

DateTime::Format::Builder::Parser::Strptime - strptime based date parsing

🚀 Quick Reference

Use CaseCommandDescription
Create parser with strptime patternmy $parser = DateTime::Format::Builder->create_parser(strptime => '%Y-%m-%d %H:%M:%S')Define date format using strptime tokens
Parse a date string$dt = $parser->parse_datetime('2025-03-15 14:30:00')Parse a string into a DateTime object
Include timezone offset in patternstrptime => '%Y-%m-%dT%H:%M:%S%z'Use %z for timezone offset like +0530

📌 VERSION

version 0.83

📝 SYNOPSIS

my $parser = DateTime::Format::Builder->create_parser(
    strptime => '%e/%b/%Y:%H:%M:%S %z',
);

📋 SPECIFICATION

🔗 SEE ALSO

📞 SUPPORT

🐞 Bugs may be submitted at https://github.com/houseabsolute/DateTime-Format-Builder/issues.

đŸ’Ŧ I am also usually active on IRC as 'autarch' on irc://irc.perl.org.

👨‍đŸ’ģ SOURCE

đŸ“Ļ The source code repository for DateTime-Format-Builder can be found at https://github.com/houseabsolute/DateTime-Format-Builder.

đŸ‘Ĩ AUTHORS

ÂŠī¸ COPYRIGHT AND LICENSE

This software is Copyright (c) 2020 by Dave Rolsky.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)

The full text of the license can be found in the LICENSE file included with this distribution.

DateTime::Format::Builder::Parser::Strptime
đŸˇī¸ NAME 🚀 Quick Reference 📌 VERSION 📝 SYNOPSIS 📋 SPECIFICATION 🔗 SEE ALSO 📞 SUPPORT 👨‍đŸ’ģ SOURCE đŸ‘Ĩ AUTHORS ÂŠī¸ COPYRIGHT AND LICENSE

Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-06 18:46 @216.73.216.139
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