Arthur Axel "fREW" Schmidt > DateTime-Format-MSSQL-0.092950 > DateTime::Format::MSSQL

Download:
DateTime-Format-MSSQL-0.092950.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.092950   Source   Latest Release: DateTime-Format-MSSQL-1.000000

NAME ^

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

VERSION ^

version 0.092950

SYNOPSIS ^

  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 ^

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

METHODS ^

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 ^

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

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2009 by Arthur Axel "fREW" Schmidt.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: