Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Re: [Suomi] Last Modified filed?

Quote Reply
Re: [Suomi] Last Modified filed? In reply to

How do I add hidden date field, which would get last modified date? Without using <%Dbsql::HTML::generate_add_form%>
I think just add a date field into your table which is formated HIDDEN on Form Type.

Well I found the timestamp thingy, but it displays time in 20011202 instead of 2001-12-02...
And do I need to assign hidden value of "" (Nothing) for it on my forms?

You can use date_set_format to change the format. You pass in a format string:
%ddd% %mmm% %dd% %yyyy%

require GT::Date;
my $cur_date = GT::Date::date_get();


Subject Author Views Date
Thread Last Modified filed? Suomi 2939 Dec 2, 2001, 11:14 AM
Thread Re: [Suomi] Last Modified filed?
Suomi 2801 Dec 3, 2001, 9:39 AM
Thread Re: [Suomi] Last Modified filed?
604 2781 Dec 3, 2001, 10:31 AM
Thread Re: [TheStone] Last Modified filed?
Suomi 2766 Dec 3, 2001, 12:28 PM
Post Re: [Suomi] Last Modified filed?
604 2761 Dec 3, 2001, 1:35 PM
Post Post deleted by TheStone
604 2772 Dec 3, 2001, 10:29 AM