Results 1 to 4 of 4

Thread: Help get Server-Side Year

  1. #1
    Join Date
    Feb 2008
    Location
    Argentina
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Help get Server-Side Year

    I nee to get the server year using Javascript.
    Is it possible?

    Thanks!

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Not with javascript alone. You would need a server side language such as PHP, ASP, SSI, etc.

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  3. #3
    Join Date
    Feb 2008
    Location
    Argentina
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Can't use, neither PHP or ASP...
    I did try it with ssi

    <!--#config timefmt="%Y" -->
    <p class="small">Todos los derechos reservados. Copyright IBM Corporation, <!--#echo var="DATE_LOCAL" -->.</p>

    This works if i insert the code directly inside the HTML.
    The thing is... i need all that code, to be inside a ssi.

    Is is possible?

    Thanks for reply!

  4. #4
    Join Date
    Feb 2008
    Location
    Argentina
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Any help??
    Please!

Bookmarks

Posting Permissions

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