Using Date.js already, but can also use another library if necessary.  Not sure what is the best way to work with time deltas. Specifically, I want to display the time that has elapsed between now and a past date-time.  So I need to do something like...
I am trying to compare two dates which are in Finnish time form like this: dd.mm.YYYY or d.m.YYYY or dd.m.YYYY or d.mm.YYYY.  I am having a hard time finding out how to do this, my current code won't work.  <script src="inc/date-fi-FI.js&#...
I'm using date.js.  The line time_container.innerHTML = Date.now().toString('T'); worked fine, briefly, and is now throwing errors in the Firebug console: radix must be an integer at least 2 and no greater than 36. It was certainly workin...
Am I missing something with Date.parseExact() in date.js?  According to the api documentation, I should be able to do this:  Date.parseExact("10/15/2004", ["M/d/yyyy", "MMMM d, yyyy"]); // The Date of 15-Oct-2004   That is, I...
I have DateJS set up on my website to give users the ability to know when they will receive their package.  I am utilizing DateJS script to do this.  I need to modify the script so that it does not include weekends when estimating the delivery day....
I really have no idea what I'm doing wrong here.  I can't get Datejs to properly parse "12:00 pm" however, it seems to work fine on other dates.  Below is a clip from the Firefox debugger:...
I have a script that reads the users timezone and displays a time according to users. How do I display the timezone abbreviation?  I have a gaming site, and on posts we write "We'll be playing live at 7:00". Users from around the world re...
I am able to get the output format that I need, but not the correct time. I need it in GMT (which is +4 hours)      var dt = new Date(); var dt2 = dt.toString('yyyyMMddhhmmss');   Any ideas? The output looks like:  20120403031408   I am able...
I have a date object, but the isAfter function in the API of datejs is not working. I opened the js library and cannot find any mention of it in there. I downloaded the latest version from dateJS site. Can anyone advise? Is there another method I sho...
I'm using the Date.js library and jQuery. This is my code:  var parsedDate2 = Date.parse(date); alert(parsedDate2.getTime()/1000);   When I use the date:  12/11/2015 08:00 PM    It treats it as MM/DD/YYYY ...  But when I use the date:  27/11/2015...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.