Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Display the date in home page?Display the date in home page?
Previous
 
Next
New Post
10/26/2010 2:42 PM
 
Hello,
Please , how can i display the date in home page? and its corresponds in arabic (arabic date)?
help

divide reign
 
New Post
10/26/2010 3:17 PM
 
There is a skin token for current date

[CURRENTDATE]

 
New Post
10/27/2010 6:02 AM
 
if you need a different format than the one provided by [currentdate] skin object, you may also use [text] skin object with tokenreplace enabled and text "[date:now|dd.MM.yyyy]" or what ever format you like

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/27/2010 9:48 AM
 
Hello,
Thank you Erik, yes it s working :)
I open my page.ascx s skin  (from C:\SolutionDNN\Portals\0\Skins\MinimalExtropy), i ADD two lines:
<%@ Register TagPrefix="dnn" TagName="CURRENTDATE" Src="~/Admin/Skins/CurrentDate.ascx" %>
AND
<dnn:CurrentDate  runat="server" id="dnnCurrentDate" />  in Topspace
So it displays the current date like :
Wednesday, October 27, 2010

is it right what i did? should i add other thing ?
currently, i m looking for how to right its corresponds in arabic (as : Wednesday, October 27, 2010 / 19 Dhou Al-Qi'da 1431 )or
(الأربعاء 19 ذو القعدة 1431 /  Wednesday, October 27, 2010 )
How can i do it ?

(http://www.aly-abbara.com/utilitaires/calendrier/calendrier_hijir.html)

divide reign
 
New Post
10/27/2010 9:58 AM
 
Thank you for reply,
Sebastian, what are the different uses of [currentdate] skin object, and how to use it ?
I found and i tested :

I open my page.ascx s skin  (from C:\SolutionDNN\Portals\0\Skins\MinimalExtropy), i ADD two lines:
<%@ Register TagPrefix="dnn" TagName="CURRENTDATE" Src="~/Admin/Skins/CurrentDate.ascx" %>
AND
<dnn:CurrentDate  runat="server" id="dnnCurrentDate" />  in Topspace
So it displays the current date like :
Wednesday, October 27, 2010
and it s working :)
But i don t know if it s right at 100%
is it right what i did? should i add other thing ?

currently, i m looking for how to write its corresponds in arabic (as : Wednesday, October 27, 2010 / 19 Dhou Al-Qi'da 1431 )or
(الأربعاء 19 ذو القعدة 1431 Wednesday, October 27, 2010 )
How can i do it ?

(http://www.aly-abbara.com/utilitaires/calendrier/calendrier_hijir.html)

Please help

divide reign
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Display the date in home page?Display the date in home page?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out