Jump to content

Search the Community

Showing results for tags 'time'.

The search index is currently processing. Current results may not be complete.
  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


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


  • Community Calendar

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL








Found 17 results

  1. maddymath


    Hi all, I am looking to create automated emails for my work. I'm quite a novice coder and the only code format Mailchimp allows in email campaigns is HTML. I want to create an automated email that goes out every week that asks our contributors to submit an artwork for the following week. I am wondering if there is a piece of date / time HTML that would allow me to say: "current date + 7 days" so I don't have to manually add the dates in for every email. Hopefully that makes sense! Thanks in advance for your help, Maddy
  2. Formatting dates seem to be not working in the examples of W3 schools. Any ideas why? https://www.w3schools.com/js/js_date_formats var d = new Date("2015-03-25"); results in: Wed Mar 25 2015 01:00:00 GMT+0100 (Central European Standard Time)
  3. @w3school info I'm a Revit and Dynamo user. I'd like to learn Python and get the Certificate. My company wants to know how much time is all the studying, modules, and tests in order to go through everything you have and get this certificate?I need total time investment ranges and broken down by the sections (ex. 1 lesson section stopping points).
  4. Hi. This is the table output I have while using SELECT. Now I want to DELETE all records , except those from the last 3 hours. I tried mysql combined with now() and I tried this: SELECT * FROM `my_tab` WHERE SEC_TO_TIME(-10800) > `created_on` If someone can give the right setup how to do this in PHP/MYSQL then I would be very happy.
  5. westman

    UTC+0 time set

    How do i get the time of 18:30 UTC + 0 ?
  6. It’s my first post so here I go. I have been taking a course on HTML and I’m already familiar with C. I need to submit a value from a hidden input field when the form is submitted, this works fine, however what I need to do is submit a new value 2 seconds after the first one has been submitted. I need to make this happen without any additional buttons. The code below (without CSS) writes the value to my application just fine but I dont know how to submit a second value 2 seconds later. Hoping someone can help <!DOCTYPE html><html><!-- InstanceBegi
  7. Is there anyone that write me a javascript code that will display a certain message based on what time of day it is and what day of the week it is. I run a radio stations website and they want to put up a schedule of their on-air staff and shows on their website.Here is a code i found that worked, but it's just time in general, not what day of the week. Also, how can I make it to get the time in a certain time zone? No message at the present timefunction show() {var nowhrs = new Date().getHours();var nowmins = new Date().getMinutes();var hrsmins = nowhrs + (nowmins/60); // decimals of an hou
  8. terryds

    PHP timezone

    Hey, can you tell me how to change the php default timezone to GMT+7 ?
  9. westman


    hi all, I am trying to subtract one time from another. here is what i have.... In my DB i have datetime (2013-07-19 16:36:18) $time_to_subtract = '1';$time1 = date("Y-m-d",time() - (60*60*$time_to_subtract));if ($time1 > $time_in_DB){$update = 'Hello world';} here i am trying to take 1 hour away from the time in my DB.I have tried testing my script but i have to wait over 24 hours to see the outcome. any help?
  10. hey everyone I want count how long some one when they do login at my web ..... how for do that ...... thanxks regard
  11. fikiwan

    display datetime

    hello .... anyone here ...I try display datetime look the pic: why is the date that appears not the same as my computer thank regar
  12. Hey .. I do multiple UPdate Data Like this but its still not work ,if I just do update for single tabel no problem its all run very well , what wrong with below code Thanks /*============ Koneksi To DB===========*///require_once'../../../inc/koneksi.php';/*============== Variabel Data Siswa================*/ $id = $_POST['id_user']; $nama = $_POST['nama']; $lahir = $_POST['tempat_lahir']; /*-------- Variabel untuk TBT-------------*///$tgl = $_POST['tgl']; $bulan = $_POST['bulan']; $tahun = $_POST['tahun']; $tbt = $_POST['tahun']."-".$_POST['bulan']."-".$_POST['tgl']; $agama = $_POS
  13. Hello Everyone, I have different entries in a log file in the form: ================================================[Jan 27 2012 12:10:35] - ID2PDF v.2.6 (ID2PDF.jsx)General options: [default] (ID2PDF_options.xml)================================================Loaded options from XML file: 'path/to/file/some_file.xmlextendedPrintPDF startedextendedPrintPDF: Error: Unsaved documents have no full name.; line: 332================================================[Jan 27 2012 12:12:57] - ID2PDF v.2.6 (ID2PDF.jsx)General options: [default] (ID2PDF_options.xml)=======================================
  14. this is a personal side project of mine, i am trying to change the time constraints of the hours, minutes, seconds, as well as change the start of the year to whatever I want it to be. ie days are 35 hours long, hours are 92 minutes long, minutes are 16 seconds long, and seconds are 200 milliseconds long, and the start of the year is February 29th is the beginning of the year in corralation to today's date, and have all of this done in the 24 hour time format where when the program first loads it works i would like to have this done in JavaScript, can someone help me??
  15. Hello, I'm creating a Javascript military clock widget and everything appears to be correct as far as I can tell, but it's not working. Any ideas? Here's my code: window.onload = function time_func(){var ct = new Date();var h = ct.getHours();var m = ct.getMinutes(); setTimeout(time_func(), 1000);} var $time = {military: h + ":" + m} [then in my HTML file]<script type="text/javascript">document.write($time.military);</script>
  16. westman


    am trying to get a working piece of code to delete after 4 weeks and 12 weeksso fear i have this... $time1 = time() - (60*60*24*7*4);$sql1 = mysql_query("DELETE FROM post WHERE date > '$time1' AND id ='0'")or die (mysql_error()); $time2 = time() - (60 * 60 * 24 * 7 * 12); $sql2 = mysql_query("DELETE FROM post WHERE date > '$time2' AND id ='1'")or die (mysql_error()); but its not workinghow do i get this right?
  17. I am working in xslt 1.0, and cannot use extensions & am limited as to what namespaces can be used (currently only http://www.w3.org/1999/XSL/Transform can be used). Another limitation I am working with is the 3rd party application I am using will not properly process includes or imports into the XSL. In other words - the xslt that I need to use must be pretty much self-inclusive, in that whatever is called or referenced must be in the xslt itself & nowhere else. I had decided to try to do a conversion to Julian date & mimic how Excel might do the conversion. I've got the date
  • Create New...