Gossamer Forum
Quote Reply
Re: [gotze] Date format In reply to
Untested, but give this a go.... add it as a new global;

Code:
sub {

my $Add_Date = shift;
my @new_days = qw(Mandag Tirsdag Onsdag Torsdag Fredag Lørdag Søndag);
my $New_Date;

foreach $day (@new_days) {

$New_Date =~ s/Monday/$day/gi;
$New_Date =~ s/Tuesday/$day/gi;
$New_Date =~ s/Wednesday/$day/gi;
$New_Date =~ s/Thursday/$day/gi;
$New_Date =~ s/Friday/$day/gi;
$New_Date =~ s/Saturday/$day/gi;
$New_Date =~ s/Sunday/$day/gi;

}

return $New_Date;

}

I've probably got a few boo-boo's in that code, but it is 7 AM, LOL Frown

Give it a go, and let me know how it goes...If that works, we can them work on the months, and format of it all....

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread Date format gotze 3299 Oct 26, 2002, 1:22 PM
Thread Re: [gotze] Date format
Andy 3210 Oct 27, 2002, 4:02 AM
Thread Re: [Andy] Date format
gotze 3203 Oct 27, 2002, 11:03 AM
Post Re: [gotze] Date format
Andy 3178 Oct 28, 2002, 12:22 AM
Thread Re: [gotze] Date format
Alex 3146 Nov 2, 2002, 8:37 AM
Post Re: [Alex] Date format
gotze 3142 Nov 2, 2002, 9:57 AM