/    Sign up×
Community /Pin to ProfileBookmark

non-scripted or server side date stamp

I’m trying to get a server side date stamp on the page. I just want to display the year. I’ve seen the following line on many pages.

[CODE]<!– #BeginDate format:Am1a –> (date info) <!– #EndDate –>[/CODE]

I spent awhile on google trying to figure out if I can use this, but there was too much garbage for me to filter through. Can anyone help me out with this?

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@ryanbutlerJul 20.2010 — PHP:

date('Y'); //Get the current year

.NET:

lblYear.Text=DateTime.Now;
Copy linkTweet thisAlerts:
@CharlesJul 20.2010 — SSI:

<!--#echo var="DATE_LOCAL" -->

http://www.ssi-developer.net/ssi/ssi-date.shtml
Copy linkTweet thisAlerts:
@gesangbaerauthorJul 20.2010 — SSI:

...

http://www.ssi-developer.net/ssi/ssi-date.shtml[/QUOTE]


That's exactly what I needed. Thank you!!!
×

Success!

Help @gesangbaer spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.23,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...