The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Sculptor::Date - Convert Sculptor 4GL dates

VERSION

Version 0.02

SYNOPSIS

This module converts between ISO dates and Sculptor 4GL day numbers. It has been tested with dates from Sculptor Release 2.5b.

Sculptor 4GL is a programming language owned by MPD. For more information on Sculptor, you can visit http://www.sculptor.co.uk/

    use Sculptor::Date qw/date_to_number number_to_date/;

    my $date = '2010-01-30';

    my $day_number = date_to_number($date);

    my $new_date = number_to_date($day_number);

EXPORT

date_to_number, number_to_date

FUNCTIONS

date_to_number

    Converts an ISO 8601 date (YYYY-MM-DD) to a Sculptor day number.

number_to_date

    Converts a Sculptor day number to an ISO date.

AUTHOR

Damon Allen Davison, <allolex at cpan.org>

BUGS

Please report any bugs or feature requests to bug-sculptor-date at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Sculptor-Date. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Sculptor::Date

You can also look for information at:

COPYRIGHT & LICENSE

Copyright 2010 Damon Allen Davison, all rights reserved.

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