Hello,
I need a script that will calculate how many hours is passed from specific
date & time till another date&time.
For example:
from 12.19.2006, 10:00 to 15.12.2006, 15:00 is
passed 77 hours..
hope you unerstand me.. :-) 2 1200
4you2 wrote on 19 dec 2006 in comp.lang.javas cript:
Hello,
I need a script that will calculate how many hours is passed from
specific date & time till another date&time.
For example:
from 12.19.2006, 10:00 to 15.12.2006, 15:00 is
12.19.2006
15.12.2006
You are digging your own grave with this notation!
always use: 2006/12/19
passed 77 hours..
no!
hope you unerstand me.. :-)
see uner:
<http://www.merlyn.demo n.co.uk/js-date1.htm#diff>
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
4you2 said:
> Hello, I need a script that will calculate how many hours is passed from specific date & time till another date&time. For example: from 12.19.2006, 10:00 to 15.12.2006, 15:00 is passed 77 hours.. hope you unerstand me.. :-)
In your first date, the month seems to be the first field.
In the second date, the month must be the second field.
If your data isn't consistent, you don't stand a chance.
-- This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Funnyweb |
last post by:
I have just notices that the date() function is not returning the correct
date/time on my "server".
I am running apache2 on my winxp pro laptop.
My system clock is set to the correct date, time and timezone, get the
results returned by date() are 11 hours behind.
Any ideas what is going wrong?
|
by: ME |
last post by:
can someone tell me how to make this first one work??, located here:
http://javascript.about.com/library/scripts/blshowdatetime.htm#examplesource
This second one, well, dreamweaver eats the code, removes the code as bad.
Any help here? Please? 2nd located here:
http://www.dynamicdrive.com/dynamicindex6/clock3.htm
Appreciated,
M.E.
|
by: Atreju |
last post by:
I have the need to import logs into an Access table.
The first field is a date & time field, represented in this example:
05/15/2004 17:58:55.336
This is how the logs are reported. DateTime. The time is to 3
decimal points of the second.
Access is not letting me import this into the Date & Time field.
|
by: LL |
last post by:
Hi,
How to get the current Date & Time?
Date() & Time() ?
Thanks.
|
by: John |
last post by:
Hi
I am using and access datetime field to store both date & time. How can I
split it into date & time after reading the field and then combine the date
& time back into datetime when storing it?
Thanks
Regards
| |
by: Mike Charney |
last post by:
Is there a way to check a files date and time stamp from VBA in access.
I have a need check a date stamp on a file that I am importing.
Thanks in advance,
Mike
m charney at dunlap hospital dot org
|
by: drurjen |
last post by:
Good morning.
I am importing an XLS file into one of my tables. The fields are:
Date Id Time IO
12/22/2006 2 12:48:45 PM 9
12/22/2006 16 5:40:55 AM 1
12/22/2006 16 12:03:59 PM 2
When I do the import, I get the following:
|
by: Terry |
last post by:
I have a TextBox with a date such as 15/01/2006 which I want to cast into a
variable as a short date 15/01/06, also
I need to cast a time such as 07:30 A.M. into a variable as a short time.
What is the best syntax for this please?
Regards
|
by: adeebraza |
last post by:
Hi, Every Body
Following is code for Showing Actual Date & Time on the form and also record
Date & Time of an event. See the following and use Call Modified when you want to record an event in your program.
Option Explicit
Dim Dt, Tm
' Timer set interval=1000
Private Sub Timer1_Timer()
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |