Webmastersite.net
Register Log In

Custom date field

Comments on Custom date field

nedjuric
Beginner

Usergroup: Customer
Joined: Jul 11, 2005

Total Topics: 4
Total Comments: 5
Posted Sep 17, 2005 - 5:12 AM:

1) How to add custom date field {LINKNEWDATEFIELD}, to allow users to enter some date ?

2) How to display that field in template (in date format) ?

3) and how to enable search for that field ( before LINKNEWDATEFIELD, after LINKNEWDATEFIELD ...) in advanced search

Is there any function for that in commonfuncs.php ?

Thanks
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Sep 17, 2005 - 8:27 PM:

This would all be a custom PHP project. The showdate function will show a date based on a unix timestamp, and strtotime will take a written date and make it into a unix timestamp.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.