Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Feb 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Displaying today's date in master page

    I am trying to display today's date in my master page, and I want it formatted like this:

    Sunday, February 24, 2008

    I tried searching over various forums, and found things that were similar, but none that are exact to my specifications. Does anyone know how I can do this? I am fairly new to c# and MS visual studio but if you get me going I'm sure I can pick it up from there. I appreciate any help, thanks

  • #2
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    C#...for the web?
    If you want it in PHP, it's something like this:
    PHP Code:
    <?php
      
    echo date('l, F j, Y');
    ?>

  • #3
    Regular Coder
    Join Date
    Feb 2008
    Location
    Australia baby!
    Posts
    143
    Thanks
    6
    Thanked 3 Times in 3 Posts
    http://www.codeplex.com/FinRadCodeGenerators I believe will show you how to do the date in Visual Studio with screenshots of the process, amongst other things.
    outseeker - http://outer.reaches.dyndns.org/index.php
    I hope this helped someone. Due to this forums lame rep system penalising me for nothing, and admins inability to do anything about it, I'm sorry to say I will no longer be online here. Pride is important. Good Luck All.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •