DateTime::Format::MSSQL - parse and format MSSQL DATETIME's


DateTime-Format-MSSQL documentation  | view source Contained in the DateTime-Format-MSSQL distribution.

Index


NAME

Top

DateTime::Format::MSSQL - parse and format MSSQL DATETIME's

VERSION

Top

version 0.092950

SYNOPSIS

Top

  use DateTime::Format::MSSQL;

  my $dt = DateTime::Format::MSSQL->parse_datetime(
    '2004-08-21 14:36:48.080'
  );

  DateTime::Format::MSSQL->format_datetime($dt); # '2004-08-21 14:36:48.080'

DESCRIPTION

Top

This is just a basic module to help parse dates formatted from SQL Server.

METHODS

Top

parse_datetime

Parse a string returned by SQL Server for a DATETIME column in the default format.

format_datetime

Format a DateTime object into a string in the SQL Server expected format.

AUTHOR

Top

  Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com>

COPYRIGHT AND LICENSE

Top


DateTime-Format-MSSQL documentation  | view source Contained in the DateTime-Format-MSSQL distribution.