6 use vars qw($VERSION @ISA @EXPORT);
11 @EXPORT = qw(&slashifyDate);
17 # accepts a date of the form xx-xx-xx[xx] and returns it in the
19 my @dateOut = split('-', shift);
20 return("$dateOut[2]/$dateOut[1]/$dateOut[0]")
30 Koha - Perl Module containing convenience functions for Koha scripts
37 $date = slashifyDate("01-01-2002")
43 Koha.pm provides many functions for Koha scripts.
45 slashifyDate() takes a dash separated date string and returns a slash
50 Pat Eyler, pate@gnu.org