473,503 Members | 6,587 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help with check time function

D
Hello all...I have an issue with one of my java script functions that
I'm hoping someone can easily help with. I have a web based application

that we use to create/sign up for overtime. When we have holidays we
require our employees to sign up in 4 hr increments for the times we
post. I'm having trouble creating a time slot that ends @ 12am. 12pm
and all other hours work fine for start/end times. however 12am causes
problems. My actual script code for this function is below. Someone
help!!!

<SCRIPT language="JavaScript" src="frmvalidation.js"
type="text/JavaScript"></SCRIPT>
<script language="javascript">
function checkValidHoliday(value)
{
if (value=='Y'){
hourblock.style.visibility ='visible';
}
else{
hourblock.style.visibility ='hidden';
}
}
function checkHoliday(frm)
{
if(frm.txtIsHoliday.value=="Y")
{
strFromDt= new Date(frm.txtLimitDate.value);
strToDt= new Date(frm.txtLimitToDate.value);
FromHr=parseInt(frm.txtLimitFrom.value);
FromAMPM=frm.txtLimitFromAM_PM.value;
ToHr=parseInt(frm.txtLimitTo.value);
ToAMPM=frm.txtLimitToAM_PM.value;
if((FromAMPM=="PM") && (FromHr!=12))
FromHr=FromHr+12;
if((ToAMPM=="PM") && (ToHr!=12))
ToHr=ToHr+12;
var fromDt= new
Date(strFromDt.getFullYear(),strFromDt.getMonth(), strFromDt.getDate(),FromH*r,0);

var toDt= new
Date(strToDt.getFullYear(),strToDt.getMonth(),strT oDt.getDate(),ToHr,0);

//alert(toDt + " " + fromDt);
//alert(FromHr + " " +ToHr);
var
HolidayBlock=(parseInt(frm.cboHolidayHours.value) * 360 * 10000)
;
//alert((toDt-fromDt) + " " + HolidayBlock );
if((toDt-fromDt)== HolidayBlock)//14400000)
return true;
else
{
alert("Please select "+
parseInt(frm.cboHolidayHours.value) +" Hour
Block only for Holiday!");
frm.txtLimitFrom.focus();
return false;
}
}
return true;
}
</script>

Aug 28 '06 #1
6 4290

D wrote:
Hello all...I have an issue with one of my java script functions that
I'm hoping someone can easily help with. I have a web based application

that we use to create/sign up for overtime. When we have holidays we
require our employees to sign up in 4 hr increments for the times we
post. I'm having trouble creating a time slot that ends @ 12am. 12pm
and all other hours work fine for start/end times. however 12am causes
problems. My actual script code for this function is below. Someone
help!!!
I guess what you call a "slot" ending at 12am is something like 8pm to
midnight. I suspect the reall issue isn't creating the slot, but how
to display it so a user sees 8pm to midnight on a particular date,
rather than 8pm to 12am the following day.

I find the use of 12am and 12pm confusing, though I think most people
consider 12pm is noon and 12am is midnight. You could replace them with
noon/midday and midnight or use a 24hr clock, though without seeing
your screen layout I'm only guessing.

How you handle the 'real' time behind the scenes is up to you, but you
need to make it simple for people to select a date, then a time slot.
You could get the date by subtracting one second from the "to" time,
then use that date. For midnight, it will give you the date of the
preceeding day (i.e. the one before 00hrs). For all other "to" times,
it will give you the same day (assuming 4 hours slots).

<SCRIPT language="JavaScript" src="frmvalidation.js"
type="text/JavaScript"></SCRIPT>
The language attribute is deprecated, you can remove it. Keep type.
It doesn't make much sense to post a script element that references a
script file we can't access.
<script language="javascript">
function checkValidHoliday(value)
{
Please indent using 2 or 4 spaces, it reduces wrapping. Also, this
function is not called by your script, so not much point in including
it.

[...]
function checkHoliday(frm)
{
if(frm.txtIsHoliday.value=="Y")
That form control seems to be either a select or a text input, consider
using a checkbox:

<label for="txtIsHoliday"><input type="checkbox" id="txtIsHoliday"
name="txtIsHoliday">Is this for a holiday?</label>

Now you can use:

if (frm.txtIsHoliday.checked)

{
strFromDt= new Date(frm.txtLimitDate.value);
strToDt= new Date(frm.txtLimitToDate.value);
FromHr=parseInt(frm.txtLimitFrom.value);
FromAMPM=frm.txtLimitFromAM_PM.value;
ToHr=parseInt(frm.txtLimitTo.value);
ToAMPM=frm.txtLimitToAM_PM.value;
Why all the global variables? You should keep them local unless you
have a good reason for them to be global. You may have conflicts with
variables used in other (not posted) functions.

You also haven't posted anything to let us know what the values are.
If any are user-entered, you must validate them first. I'll presume
they are all selected from selects and you know they'll be OK.

if((FromAMPM=="PM") && (FromHr!=12))
FromHr=FromHr+12;
I guess these are all values selected from select elements, and that
you have one for am/pm and one for 0 to 12 hours. Why not use one
select with the text as four hourly intervals (or hourly if it's used
for other things too) from 0 am through noon to 12 midnight. Then set
the values using a 24 hour clock, e.g.

<select name="fromHr">
<option value="0">0 am (midnight)
<option value="4">4 am
<option value="8">8 am
<option value="12">12 noon
<option value="16">4 pm
<option value="20">8 pm
</select>
<select name="toHr">
<option value="4">4 am
<option value="8">8 am
<option value="12">12 noon
<option value="16">4 pm
<option value="20">8 pm
<option value="24">12 midnight
</select>
I find that less confusing, there is no need to select am/pm and
there's no conversion to 24hr clock. You need to validate the input to
ensure fromHr is before toHr (or deal with it some other way).

if((ToAMPM=="PM") && (ToHr!=12))
ToHr=ToHr+12;
var fromDt= new
Date(strFromDt.getFullYear(),strFromDt.getMonth(), strFromDt.getDate(),FromH*r,0);

var toDt= new
Date(strToDt.getFullYear(),strToDt.getMonth(),strT oDt.getDate(),ToHr,0);

//alert(toDt + " " + fromDt);
//alert(FromHr + " " +ToHr);
var
HolidayBlock=(parseInt(frm.cboHolidayHours.value) * 360 * 10000)
;
If you are converting from hours to milliseconds, the relevant values
are 3600 (seconds per hour) and 1000 (milliseconds per second) - your
values will end up with the right multiplier, but the individual values
are wrong. There is no need to use parseInt when multiplying a string
that (I guess) you know will have a suitable value, it will be
converted to a number by the multiplication. You might find it easier
to use 3.6e6. :-)

var HolidayBlock = frm.cboHolidayHours.value * 3.6e6;
Again, we have no idea what the value of HolidayBlock is - I'll guess
that it's "4".

//alert((toDt-fromDt) + " " + HolidayBlock );
if((toDt-fromDt)== HolidayBlock)//14400000)
return true;
else
{
alert("Please select "+
parseInt(frm.cboHolidayHours.value) +" Hour
It seems you are getting the value of a form control, which is a
string, using parseInt (unnecessarily) to convert it to a number, then
concatenating it to a string which will convert it back to a string.
Why bother with the conversion? There is also no need for the else
part - if the preceding if statement returns true, the function will
return and the following statement will not be executed.

Block only for Holiday!");
frm.txtLimitFrom.focus();
return false;
}
}
return true;
Why not start the script with:

if ( ! frm.txtIsHoliday.checked) return true;

and get rid of the outer if block.

Does your script deal effectively with changes to/from daylight saving?
Your explicit use of a four hour interval in milliseconds makes me
think it doesn't.
--
Rob

Aug 29 '06 #2
D
Hi Rob!
Wow! I didn't realize so much could be wrong, but never assume
right!? Unfortunately I don't have any of this on a public server, all
on local intranet. You are correct when stating my "slot" is 8pm -
12am. I believe this problem is a little deeper than originally
thought. I started to work a little more with overall functionality of
this application and discovered that any employee that actually signs
up for an 8pm - 12 am slot ( done on the physical d/b itself ) doesn't
register on the front end interface tool. Thanks for all of the info
Rob, this will greatly help with my trial/error process that I'm about
to embark on.

RobG wrote:
D wrote:
Hello all...I have an issue with one of my java script functions that
I'm hoping someone can easily help with. I have a web based application

that we use to create/sign up for overtime. When we have holidays we
require our employees to sign up in 4 hr increments for the times we
post. I'm having trouble creating a time slot that ends @ 12am. 12pm
and all other hours work fine for start/end times. however 12am causes
problems. My actual script code for this function is below. Someone
help!!!

I guess what you call a "slot" ending at 12am is something like 8pm to
midnight. I suspect the reall issue isn't creating the slot, but how
to display it so a user sees 8pm to midnight on a particular date,
rather than 8pm to 12am the following day.

I find the use of 12am and 12pm confusing, though I think most people
consider 12pm is noon and 12am is midnight. You could replace them with
noon/midday and midnight or use a 24hr clock, though without seeing
your screen layout I'm only guessing.

How you handle the 'real' time behind the scenes is up to you, but you
need to make it simple for people to select a date, then a time slot.
You could get the date by subtracting one second from the "to" time,
then use that date. For midnight, it will give you the date of the
preceeding day (i.e. the one before 00hrs). For all other "to" times,
it will give you the same day (assuming 4 hours slots).

<SCRIPT language="JavaScript" src="frmvalidation.js"
type="text/JavaScript"></SCRIPT>

The language attribute is deprecated, you can remove it. Keep type.
It doesn't make much sense to post a script element that references a
script file we can't access.
<script language="javascript">
function checkValidHoliday(value)
{

Please indent using 2 or 4 spaces, it reduces wrapping. Also, this
function is not called by your script, so not much point in including
it.

[...]
function checkHoliday(frm)
{
if(frm.txtIsHoliday.value=="Y")

That form control seems to be either a select or a text input, consider
using a checkbox:

<label for="txtIsHoliday"><input type="checkbox" id="txtIsHoliday"
name="txtIsHoliday">Is this for a holiday?</label>

Now you can use:

if (frm.txtIsHoliday.checked)

{
strFromDt= new Date(frm.txtLimitDate.value);
strToDt= new Date(frm.txtLimitToDate.value);
FromHr=parseInt(frm.txtLimitFrom.value);
FromAMPM=frm.txtLimitFromAM_PM.value;
ToHr=parseInt(frm.txtLimitTo.value);
ToAMPM=frm.txtLimitToAM_PM.value;

Why all the global variables? You should keep them local unless you
have a good reason for them to be global. You may have conflicts with
variables used in other (not posted) functions.

You also haven't posted anything to let us know what the values are.
If any are user-entered, you must validate them first. I'll presume
they are all selected from selects and you know they'll be OK.

if((FromAMPM=="PM") && (FromHr!=12))
FromHr=FromHr+12;

I guess these are all values selected from select elements, and that
you have one for am/pm and one for 0 to 12 hours. Why not use one
select with the text as four hourly intervals (or hourly if it's used
for other things too) from 0 am through noon to 12 midnight. Then set
the values using a 24 hour clock, e.g.

<select name="fromHr">
<option value="0">0 am (midnight)
<option value="4">4 am
<option value="8">8 am
<option value="12">12 noon
<option value="16">4 pm
<option value="20">8 pm
</select>
<select name="toHr">
<option value="4">4 am
<option value="8">8 am
<option value="12">12 noon
<option value="16">4 pm
<option value="20">8 pm
<option value="24">12 midnight
</select>
I find that less confusing, there is no need to select am/pm and
there's no conversion to 24hr clock. You need to validate the input to
ensure fromHr is before toHr (or deal with it some other way).

if((ToAMPM=="PM") && (ToHr!=12))
ToHr=ToHr+12;
var fromDt= new
Date(strFromDt.getFullYear(),strFromDt.getMonth(), strFromDt.getDate(),FromH*r,0);

var toDt= new
Date(strToDt.getFullYear(),strToDt.getMonth(),strT oDt.getDate(),ToHr,0);

//alert(toDt + " " + fromDt);
//alert(FromHr + " " +ToHr);
var
HolidayBlock=(parseInt(frm.cboHolidayHours.value) * 360 * 10000)
;

If you are converting from hours to milliseconds, the relevant values
are 3600 (seconds per hour) and 1000 (milliseconds per second) - your
values will end up with the right multiplier, but the individual values
are wrong. There is no need to use parseInt when multiplying a string
that (I guess) you know will have a suitable value, it will be
converted to a number by the multiplication. You might find it easier
to use 3.6e6. :-)

var HolidayBlock = frm.cboHolidayHours.value * 3.6e6;
Again, we have no idea what the value of HolidayBlock is - I'll guess
that it's "4".

//alert((toDt-fromDt) + " " + HolidayBlock );
if((toDt-fromDt)== HolidayBlock)//14400000)
return true;
else
{
alert("Please select "+
parseInt(frm.cboHolidayHours.value) +" Hour

It seems you are getting the value of a form control, which is a
string, using parseInt (unnecessarily) to convert it to a number, then
concatenating it to a string which will convert it back to a string.
Why bother with the conversion? There is also no need for the else
part - if the preceding if statement returns true, the function will
return and the following statement will not be executed.

Block only for Holiday!");
frm.txtLimitFrom.focus();
return false;
}
}
return true;

Why not start the script with:

if ( ! frm.txtIsHoliday.checked) return true;

and get rid of the outer if block.

Does your script deal effectively with changes to/from daylight saving?
Your explicit use of a four hour interval in milliseconds makes me
think it doesn't.
--
Rob
Aug 29 '06 #3
JRS: In article <11**********************@m79g2000cwm.googlegroups .com>
, dated Mon, 28 Aug 2006 14:10:10 remote, seen in
news:comp.lang.javascript, D <em*******@comcast.netposted :
>Hello all...I have an issue with one of my java script functions that
I'm hoping someone can easily help with. I have a web based application

that we use to create/sign up for overtime. When we have holidays we
require our employees to sign up in 4 hr increments for the times we
post. I'm having trouble creating a time slot that ends @ 12am. 12pm
and all other hours work fine for start/end times. however 12am causes
problems. My actual script code for this function is below. Someone
help!!!
Unless you employ morons, don't use the 12-hour clock in data
processing.
><SCRIPT language="JavaScript" src="frmvalidation.js"
^^^^^^^^^^^^^^^^^^^^^ superfluous
>type="text/JavaScript"></SCRIPT>
<script language="javascript">
function checkValidHoliday(value)
{
if (value=='Y'){
hourblock.style.visibility ='visible';
}
else{
hourblock.style.visibility ='hidden';
}
}
hourblock.style.visibility = value=='Y' ? 'visible' : 'hidden'
>

function checkHoliday(frm)
{
if(frm.txtIsHoliday.value=="Y")
{
strFromDt= new Date(frm.txtLimitDate.value);
strToDt= new Date(frm.txtLimitToDate.value);
So what if they enter 9/31/06 ? Validate input dates. See below.
FromHr=parseInt(frm.txtLimitFrom.value);
So what if they enter "09" ?
FromAMPM=frm.txtLimitFromAM_PM.value;
ToHr=parseInt(frm.txtLimitTo.value);
ToAMPM=frm.txtLimitToAM_PM.value;
if((FromAMPM=="PM") && (FromHr!=12))
FromHr=FromHr+12;
if((ToAMPM=="PM") && (ToHr!=12))
ToHr=ToHr+12;
var fromDt= new
Date(strFromDt.getFullYear(),strFromDt.getMonth() ,strFromDt.getDate(),FromH*r,0
)
;
Indentation should show structure. Therefore, posted code must not be
line-wrapped by the posting agent. Don't indent with tabs for News.

FromH? r?

IMHO better to use
fromDt = new Date(+strFromDt)
and adjust that with
setHour(getHour()-r)
var toDt= new
Date(strToDt.getFullYear(),strToDt.getMonth(),str ToDt.getDate(),ToHr,0);

//alert(toDt + " " + fromDt);
//alert(FromHr + " " +ToHr);
var
HolidayBlock=(parseInt(frm.cboHolidayHours.valu e) * 360 * 10000)
3600 * 1000 would be more intelligent. But, as you work in exact hours,
why not use exact hours for arithmetic, rather than to milliseconds?
>;
//alert((toDt-fromDt) + " " + HolidayBlock );
if((toDt-fromDt)== HolidayBlock)//14400000)
return true;
else cannot be needed after if... return true.
else
{
alert("Please select "+
parseInt(frm.cboHolidayHours.value) +" Hour
Block only for Holiday!");
frm.txtLimitFrom.focus();
return false;
}
}
return true;
}
</script>
You read two dates in similar form. This should be done by calling a
function which, given the field, e.g. frm.txtLimitDate, reads it,
validates it, deals with error, and returns a Date Object; and similarly
for time (or maybe given the fields handles both date & time).

Read the newsgroup FAQ. See below.
--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4 ©
<URL:http://www.jibbering.com/faq/>? JL/RC: FAQ of news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htmjscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/TP/BP/Delphi/jscr/&c, FAQ items, links.
Aug 29 '06 #4
JRS: In article <11*********************@p79g2000cwp.googlegroups. com>,
dated Mon, 28 Aug 2006 17:21:59 remote, seen in
news:comp.lang.javascript, RobG <rg***@iinet.net.auposted :
>Please indent using 2 or 4 spaces, it reduces wrapping. Also, this
function is not called by your script, so not much point in including
it.
Apparent prejudice against 3 <g>.
Posters of code SHOULD NOT let the posting agent wrap it.

<URL:http://www.merlyn.demon.co.uk/js-quick.htmIndt button gives a
valid, good, but not perfect re-indentation result, using 2, on OP code.

You might find it easier
to use 3.6e6. :-)
Or 36e6 to avoid the "damned dot".

>Does your script deal effectively with changes to/from daylight saving?
Your explicit use of a four hour interval in milliseconds makes me
think it doesn't.
Or /vice versa/ - the Management probably think in civil time only, and
that code uses UTC.

The answer is perhaps to use our normal validation, etc., but with
new Date(Date.UTC(...)) instead of new Date(...) and elsewhere
using the UTC functions. UTC behaves in actuality like Civil Time
appears to behave for those who change the clocks then forget about it.

With Net-connected equipment, and radio-controlled clocks & watches - I
presume you have those in AU - fewer people will actually be aware of
the bi-yearly change. (Will 1907 be celebrated in 2007?)

Of course, the OP may live in a region that has no DST.

OP : read the newsgroup and its FAQ before again responding.
--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4 ©
<URL:http://www.jibbering.com/faq/>? JL/RC: FAQ of news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htmjscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/TP/BP/Delphi/jscr/&c, FAQ items, links.
Aug 29 '06 #5
Dr John Stockton wrote:
JRS: In article <11*********************@p79g2000cwp.googlegroups. com>,
dated Mon, 28 Aug 2006 17:21:59 remote, seen in
news:comp.lang.javascript, RobG <rg***@iinet.net.auposted :
Please indent using 2 or 4 spaces, it reduces wrapping. Also, this
function is not called by your script, so not much point in including
it.

Apparent prejudice against 3 <g>.
Posters of code SHOULD NOT let the posting agent wrap it.

<URL:http://www.merlyn.demon.co.uk/js-quick.htmIndt button gives a
valid, good, but not perfect re-indentation result, using 2, on OP code.

You might find it easier
to use 3.6e6. :-)

Or 36e6 to avoid the "damned dot".
Or 36e5 to avoid being out by a factor of 10 :-)

Does your script deal effectively with changes to/from daylight saving?
Your explicit use of a four hour interval in milliseconds makes me
think it doesn't.

Or /vice versa/ - the Management probably think in civil time only, and
that code uses UTC.
I have learned to distrust "probably" - it is all too frequently
equivalent to "I have no idea about that, my guess is...".

The answer is perhaps to use our normal validation, etc., but with
new Date(Date.UTC(...)) instead of new Date(...) and elsewhere
using the UTC functions. UTC behaves in actuality like Civil Time
appears to behave for those who change the clocks then forget about it.
It depends on the scope of the application - if it's for a single
location, UTC may be overkill. The chage to/from DST normally occurs
early on a Sunday, which for most is a holiday but not for everyone -
in many Islamic countries, what western countries call Sunday is
effectively equivalent to Tuesday, their "weekend" is Thursday and
Friday.

The treatment of work shifts going over the DST change often results in
special conditions in wage agreements, and therefore any timesheet
system will need to deal with that. It will probably(!) require
special treatment for different workers even if they all work for the
same employer and may depend on individual contracts or awards. For
salried staff, it's usually irrelevant.

I don't have a diffinitive answer, I just wanted the OP to consider how
DST might affect whatever algorithm was chosen.

With Net-connected equipment, and radio-controlled clocks & watches - I
presume you have those in AU - fewer people will actually be aware of
the bi-yearly change. (Will 1907 be celebrated in 2007?)
Dunno, did anything of note happen in 1907 to make it worth
celebrating?

I think "radio-controlled clocks & watches" actually make things worse.
The clock for my mobile phone message system is in the same timezone
as me but in a state that has DST. The state in which I live does not,
so every year I have to deal with phone messages being 1 hour out of
sync. Adjoining jurisdictions often have different change over dates -
it is a fact of life and therefore must be dealt with.

Of course, the OP may live in a region that has no DST.
Happlily, I do. :-)

Rather than daylight saving in summer, I'd rather have daylight wasting
in winter and do everything an hour later. Imagine the saving in
heating costs if everyone was tucked up cosy in bed for an extra hour,
instead of turning up the heat in the pre-dawn chill? The savings are
possibly much greater than those achieved by daylight saving in summer.

[...]

--
Rob

Aug 30 '06 #6
JRS: In article <11**********************@b28g2000cwb.googlegroups .com>
, dated Tue, 29 Aug 2006 17:22:56 remote, seen in
news:comp.lang.javascript, RobG <rg***@iinet.net.auposted :
>
>With Net-connected equipment, and radio-controlled clocks & watches - I
presume you have those in AU - fewer people will actually be aware of
the bi-yearly change. (Will 1907 be celebrated in 2007?)

Dunno, did anything of note happen in 1907 to make it worth
celebrating?
William Willett, then of Petts Wood, a suburb of Bromley in Kent (now
virtually in London) proposed, in a leaflet, the introduction of Summer
Time, later considered by the House of Commons (1908).

<URL:http://www.merlyn.demon.co.uk/uksumtim.htmrefers.

--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 MIME. ©
Web <URL:http://www.merlyn.demon.co.uk/- w. FAQish topics, links, acronyms
PAS EXE etc : <URL:http://www.merlyn.demon.co.uk/programs/- see 00index.htm
Dates - miscdate.htm moredate.htm js-dates.htm pas-time.htm critdate.htm etc.
Aug 30 '06 #7

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

Similar topics

4
2202
by: Nitin | last post by:
Hi I have created function to check date and time. at the time of execution, if date is left empty the function returns the error message but then the focus goes to next field. Next filed is for...
8
5451
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
1
3694
by: Rahul | last post by:
Hi Everybody I have some problem in my script. please help me. This is script file. I have one *.inq file. I want run this script in XML files. But this script errors shows . If u want i am...
14
2116
by: JNariss | last post by:
Hello, I am fairly new to asp and jscript and am now in the process of learning some form validation. I am taking one step at a time by validating each field and testing it before moving onto...
66
5278
by: genestarwing | last post by:
QUESTION: Write a program that opens and read a text file and records how many times each word occurs in the file. Use a binary search tree modified to store both a word and the number of times it...
15
2551
by: Jay | last post by:
I have a multi threaded VB.NET application (4 threads) that I use to send text messages to many, many employees via system.timer at a 5 second interval. Basically, I look in a SQL table (queue) to...
0
5518
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
11
4050
by: Dirntknow | last post by:
Further to my recent post in this newsgroup i've got to admit i'm struggling. I've no experience with javascript or it's workings. What i'd like is a simple converter to allow a user to input the...
6
2847
by: priyajohal | last post by:
#include<fstream.h> #include<process.h> #include<stdlib.h> #include<conio.h> #include<string.h> #include<dos.h> #include<ctype.h> #include<stdio.h> void setup() void help();
0
7264
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
7316
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...
1
6975
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...
0
5562
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
4992
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
3160
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
1495
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
728
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
371
bsmnconsultancy
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...

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.