NAME

Time::F - Formatting times.

VERSION

version 0.018

SYNOPSIS

use Time::F; # strftime automatically imported
use Time::C;
use feature 'say';

# "mån 31 okt 2016 14:21:57"
say strftime(Time::C->now_utf(), "%c", locale => "sv_SE");

DESCRIPTION

Formats a time using "Format Specifiers" in Time::P, according to specified locale.

FUNCTIONS

strftime

my $str = strftime($t, $fmt);
my $str = strftime($t, $fmt, locale => $locale);

Formats a time using the formats specifiers in $fmt, under the locale rulses of $locale.

$t

$t should be a Time::C time object.

$fmt

$fmt should be a format specifier string, see "Format Specifiers" in Time::P for more details.

locale => $locale

$locale should be a locale. If not specified it defaults to C.

SEE ALSO

Time::P
Time::C
Time::Moment
Time::Piece

AUTHOR

Andreas Guldstrand <andreas.guldstrand@gmail.com>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2016 by Andreas Guldstrand.

This is free software, licensed under:

The MIT (X11) License