473,503 Members | 8,131 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help: value counter vs Unix

Hi, ive recieved a counter that ads up a fixed value per second starting
from 01-01-03.
This java script acts perfectly on MSwindow based system but when shown on
an
UNiX-like system the script presents a negative value resp. adding up or
down.

How can i correct this?
Jul 20 '05 #1
2 1424
"fieldhouses" <re******@beer.com> writes:
Hi, ive recieved a counter that ads up a fixed value per second starting
from 01-01-03.
So it is a date?
This java script acts perfectly on MSwindow based system but when shown on
an
UNiX-like system the script presents a negative value resp. adding up or
down. How can i correct this?


Fix the bug!
It is hard to say more without actually seeing the code. :)
/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #2

"Lasse Reichstein Nielsen" <lr*@hotpop.com> wrote in message
news:8y**********@hotpop.com...
"fieldhouses" <re******@beer.com> writes:
Hi, ive recieved a counter that ads up a fixed value per second starting
from 01-01-03.


So it is a date?


Date as a countersetpoint.
This java script acts perfectly on MSwindow based system but when shown on an
UNiX-like system the script presents a negative value resp. adding up or
down.

How can i correct this?


Fix the bug!
It is hard to say more without actually seeing the code. :)

mmm, all (that is most) comments are written in Dutch. However the strings
itself are java-written. ;o)

Are there specific rules you have to take in account in order to have a
script working on both operating systems?

And if there are specific rules for date, what are those concerning unix?
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
5278
by: Cergon | last post by:
hi, i hope someone can help. Im pretty new to this php stuff and i have a slight problem. I have this script (shown below) which writes data to a text file which is then displayed on my front...
8
2559
by: Jimmy Smits | last post by:
Hi I have been playing with some JS that I cut from another page. It is a NCAA tournament bracket. When the user clicks on the submit button it sends the predictions to a db I have created. I got...
1
1674
by: nydiroth | last post by:
I am trying to use the following code to reset a custom counter: (I forgot where I got the code but it's not my own and I did not remove and credits, this is how it came) Function...
4
1961
by: Leonardo Hyppolito | last post by:
Hello, I am trying to write a multithread program that simulates producers and consumers. My program can have many producers and many consumers (each in a separate thread). It has a storage...
2
1273
by: Francois | last post by:
I have the following ASP.NET page : <!-- event.aspx --> <%@ Page Language="C#" %> <html> <script runat=server> protected int counter; protected void OnClickMyButton(object src, EventArgs e)...
0
1201
by: thrash423 | last post by:
ok guys this is like my last resort im already 1 day late on this project and i really cant afford to drop this class this block im in datastructers which is kickin my butt already but anyway help if...
1
5033
by: R69D | last post by:
Write and test the following method that implements the power function: static double pow(double x, int n) This method returns the value of x raised to the power n. For example pow(2.0, -3)...
2
1347
by: Zerofury | last post by:
Okay this is what i'm attempting to do. I have to modify this program that i wrote so that it allows the user to list items by alpha as an option on the main menu. Here is my problem. If i sort the...
1
1813
by: theflyingminstrel | last post by:
Hi, I’m having some trouble with a Javascript code, and I was wondering if anyone can help: I am trying to build a price estimator that has multiple fields. I would like the first two fields to...
0
7093
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...
0
7291
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7357
jinu1996
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...
0
7468
tracyyun
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...
0
5598
agi2029
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,...
1
5023
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4690
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...
0
3180
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3171
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.