Gossamer Forum
Home : Products : Links 2.0 : Customization :

How do you pull "TODAYS DATE"????!??!

Quote Reply
How do you pull "TODAYS DATE"????!??!
 
Whats the correct call to pull the current
days date? I tried
<%Date%>

but that didnt work...

HELP!!

Quote Reply
Re: How do you pull "TODAYS DATE"????!??! In reply to
it's <%date%> not <%Date%>
Quote Reply
Re: How do you pull "TODAYS DATE"????!??! In reply to
See http://www.gossamer-threads.com/...um3/HTML/002642.html .

John
Quote Reply
Re: How do you pull "TODAYS DATE"????!??! In reply to
Thanks guy.. Is there a list anywhere of all these commands?

Quote Reply
Re: How do you pull "TODAYS DATE"????!??! In reply to
yes, but it is dependant on what you are looking for.

included in all category pages are all of the items in your category.def (that big matrix of stuff, a.k.a. the %db_def hash)
included in each link are all of the items in the %db_def hash of your link.def

included in every page is the %globals hash at the top of your site_html_templates.pl

included in a specific template depends on the template. thus, in the category page are the items listed in sub site_html_category in site_html_templates.pl

everything has items in at least the later two, and sometimes the first.

got it?

--Tom
Quote Reply
Re: How do you pull "TODAYS DATE"????!??! In reply to
Got it! (i think) Wink


Is there a known way to offer the "Search Engine" part of the site to other webmasters to place on their sites?
Quote Reply
Re: How do you pull "TODAYS DATE"????!??! In reply to
It's not even that hard... use the environment variable, a basic function of Unix servers. This is preferable to modding up Links, since you may not rebuild the DB everyday.

<!--#config timefmt="%A, %B %e" -->
<!--#echo var="DATE_LOCAL" -->

A list of the envrionment variables can be found at
http://bignosebird.com/sdocs/echo.shtml