Jump to content

Search the Community

Showing results for tags 'date()'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 2 results

  1. Hi there, I am new to Javascript, and finding displaying date and time confusing. I am using new Date().toLocaleString() ...which is perfect, however I am trying to remove seconds on the end as these are not relevant. How do I achieve this? Thanks
  2. Nuker_Viper

    Date problem

    i don't quite understand why it displays this: here is the basic code... <?php$TZ = getTZInfo("tz", getMemberInfo("timezone", $membername));$T = getTZInfo("tz_plusminus_hours", getMemberInfo("timezone", $membername));$DST = getMemberInfo("timezone_dst", $membername); if($DST == "On") { $D = "1"; }else { $D = "0"; } $TF = ($T+$D); if($logged_in == "1") { $displaydate = gmdate("l, F j, Y - g:i A - $TZ", time()+(("$TF"+date("I"))*3600)); }elseif($logged_in != "1") { $displaydate = gmdate("l, F j, Y - g:i A - e", time()+((-5+date("I"))*3600)); } ?>
×
×
  • Create New...