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

NAME

Lingua::KO::DateTime - convert time to korean format.

SYNOPSIS

DESCRIPTION

This module can convert asctime to korean format. asctime is ASC C standard format will from localtime like this:

        $asctime = localtime();

METHOD

new

        my $kdt = Lingua::KO::DateTime->new();

Instantiates a new object.

convert

        my $str = $kdt->convert(asctime=>'Thu Oct 13 04:54:34 1994',output=>'date');

The convert function returns utf8-encoded(Perl internal unicode format) string.

  • asctime -> input asctime data.

  • output -> output in 3 types: date,time,datetime.

    If you do not provide arguments, asctime is now and output is 'datetime' as default value.

     (Output examples.)
     date     : 1994년 10월 13일
     time     : 04시 54분 34초
     datetime : 1994년 10월 13일 04시 54분 34초

AUTHORS

Lingua::KO::DateTime by C.H. Kang

COPYRIGHT

The Lingua::KO::DateTime module is Copyright (c) 2007 C.H. Kang All rights reserved.

You may distribute under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file.

WARRANTY

The Lingua::KO::DateTime is free Open Source software.

IT COMES WITHOUT WARRANTY OF ANY KIND.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 124:

Non-ASCII character seen before =encoding in '1994년'. Assuming UTF-8