Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Re: [Reena0330] date 0000-00-00

Quote Reply
Re: [Reena0330] date 0000-00-00 In reply to
Anyone out there? There's probably a very simple solution to this problem, but I don't know what the solution is....help please Frown



I tried adding the following subroutine:

sub {
my $field_name = shift;
my $tags = GT::Template->tags;
my $home = $tags->{home};
require GT::Date;
$home->{db}->cols->{$field_name} = GT::Date::date_set_format('%mmm%-%dd%-%yyyy%');
return $values->{$field_name};
}



But it doesn't work.. :(
Reena

Last edited by:

Reena0330: Aug 13, 2002, 2:02 PM
Subject Author Views Date
Thread Dates coming up as 0000-00-00 even when date format changed Reena0330 2896 Aug 8, 2002, 1:59 PM
Thread Re: [Reena0330] date 0000-00-00
Reena0330 2820 Aug 13, 2002, 1:13 PM
Thread Re: [Reena0330] date 0000-00-00
604 2818 Aug 13, 2002, 3:35 PM
Thread Re: [TheStone] date 0000-00-00
Reena0330 2795 Aug 13, 2002, 3:46 PM
Thread Re: [Reena0330] date 0000-00-00
604 2809 Aug 13, 2002, 3:50 PM
Post Re: [TheStone] date 0000-00-00
Reena0330 2774 Aug 15, 2002, 12:58 PM