247 Topics

Member Avatar for
Member Avatar for ms061210

Hello, i'm kinda starting to feel out of my mind now. I am creating a simple web game. I am now in the process of putting some php codes here in game to have scores.My problem is that, My game's top score is the person who played the game very …

Member Avatar for ms061210
0
261
Member Avatar for ckjaseem

I have got around 10 <div>'s and in every <div> there is a different datetime. I want to call a java-script function when the clients local time matches the time in that <div>'s. //sample scenario <div id="a" class ="help">2/3/2013 6:39:14 PM</div> <div id="b" class ="help">2/3/2013 2:39:14 PM</div> <div id="c" class …

Member Avatar for LastMitch
0
1K
Member Avatar for mrbarbarik

Hi all, I just want to know if there any asp code can make auto redirect from one page to another page when the session timeout end ? Any solution for this problem ? I need a solution ASAP, so help me please. Thank You.

Member Avatar for remunance
0
126
Member Avatar for archelle

Hello guys, im a newbie in vb programming. I just want to know how to compute total working hours. for EXAMPLE, i started 8:00 AM And goes out 13:00, the total time would be 4 hrs. because 12:00-1:30 is lunch break.

Member Avatar for Reverend Jim
-1
319
Member Avatar for A Haunted Army

i've been working on a game project, its a slider platformer and i've been having problem with getting the movement working, the movement is time based instead of being fixed to the frames per secound so the movement is consistent. the movement was working when i was testing out the …

Member Avatar for A Haunted Army
0
1K
Member Avatar for ScarWars9

Hello, I have been working on a time clock program where the user can enter their time in and time out using two DateTimePickers, and it will tell them how many hours and minutes they worked. I was able to format the DateTimePicker to only show the hours and minutes. …

Member Avatar for Begginnerdev
0
843
Member Avatar for khushhappy

Dear All, i want to make a program through which, our chairman gets a prompt message one day before a deadline of a specific event comes. In database, il make a database fields like, **serialno, file, intial date, deadline date, status** how a user to get a deadline prompt message …

Member Avatar for diafol
0
344
Member Avatar for docgrid

Hi, i want to calculate elasped time in Mintues excluding after 6pm and the weekends. for instance i have a start time on 2013-01-11 2:37:20 PM and need to calculate the time difference with repect to current time(NOW) in minutes by satisfying above 2 conditions. i've been trying to do …

Member Avatar for tinstaafl
0
317
Member Avatar for ms061210

My problem is that I have an option page which contains the button to control the background music on and off. it works fine. But when I exit the option page then go back to option page again and play the music again, there will be two sound playing and …

Member Avatar for Phaelax
0
321
Member Avatar for M.S.Vinod
Member Avatar for rubberman
0
148
Member Avatar for Transworld

Well I have to make a microwave program in Visual Basic for school. I can't seem to find anything in the index that will help me with the timer/countdown. I found TimeOfDay() and was going to use that for the clock but I can't figure out how I would make …

Member Avatar for ranyone
-3
12K
Member Avatar for crashhold

Hello Developers, I am a beginner in python and need help with writing a regular expression for date and time to be fetched from a html document. In the following code I am walking through the html files in a folder called event and printing the headings with h1 tag …

Member Avatar for crashhold
0
317
Member Avatar for agca

What is complexity to insert, delete, and search in both sorted and unsorted linked list (single, double.. doesn't matter in general) ?

Member Avatar for deceptikon
0
102
Member Avatar for Bluescreendeath

Hi all I have been asked to calculate days in a week. I know there is not 24 hours but 23 hours 56 minutes in a siderial day. How do I express that fraction in interactive mode. For example: print 60*23/56/60*7 or something to that effect. Anyone? Glenn.

Member Avatar for Gribouillis
0
222
Member Avatar for ct_hunny

hello i' trying to take out data from start time and end time from my database record..any idea how to solve it for example: 2012-09-08 12:09:33 roadA 2012-09-08 10:49:09 roadA 2012-09-08 10:39:27 roadC 2012-09-08 09:09:33 roadA if i select 10:39:27 to 12:09:33, then only 3 data will be display...

Member Avatar for aravind326
0
214
Member Avatar for yousafc#

I am Creating Attendance windows form I have two lables 1-current time 2- time i fixed ie 8:00:00am.i want if student came to school before 5 minutes It show message you came before 5minutes and if student came after time 5 minutes late it show student came 5 minutes late …

Member Avatar for caKus
0
190
Member Avatar for vaultdweller123

hey guys... just wanna ask, is setting timezone on php automatically computes for daylight saving times? i mean does it autmatically detect DST and automaticaly add +1 hour on specific month? thanks in advance

Member Avatar for LastMitch
0
8K
Member Avatar for anisha.silva

hi, so i have a question relating to sending data in a sequence. i have a class evenvent that reads the data from a txt file. that class has to send data to 2 comunication line async and sync. data sent to async is for ex: 'new' . data that …

Member Avatar for caKus
0
233
Member Avatar for minitauros

Hello there. I am kind of confused. In PHP I substract two unix timestamps from each other. The first: mktime(0, 0, 0, 10, 22, 2012) The second: mktime(24, 0, 0, 10, 28, 2012) For as far as I know the time difference between these two timestamps is exactly 7 days. …

Member Avatar for diafol
0
238
Member Avatar for FUTURECompEng

Currently this method has a run time of O(N^2) and I am trying to get it to O(N). Any suggestion as to where I should start? public void removeAll(e removeNum) { node nodeToFind = this.find(removeNum); while(nodeToFind != null) { this.remove(nodeToFind); nodeToFind = this.find(removeNum); } } Thanks

Member Avatar for JamesCherrill
0
296
Member Avatar for anandschiru

import javax.swing.* ; import java.awt.event.*; import java.awt.*; import java.io.*; import java.util.Calendar; import java.util.*; import java.text.*; /* <applet code="gui.class" width=250 height=100> </applet> */ class gui extends JApplet implements ActionListener { JTextField t1,t2,t3,t4,t5; JLabel l1,l2,l3,l4,l5,l6; JButton b1,b2; Calendar c1,c2,c3; JPanel p,p1,p2; Date sd,sd1; SimpleDateFormat sdf; public void init() { SimpleDateFormat sdf = …

Member Avatar for Taywin
0
313
Member Avatar for shhh

` <? error_reporting(0); require_once ('settings.php'); include 'siteHeader.php'; include_once( 'adodb_connect.php' ); date_default_timezone_set("Asia/Manila"); function formatDateForTimeclock($timestamp) { if ($timestamp == "0000-00-00 00:00:00") return '<span id="open">Open</span>'; else return date("M j 'y - h:i:s A", strtotime($timestamp)); } function getDurationClockedIn($start, $stop) { if ($stop < $start) return ""; else return number_format( ( ( strtotime($stop) - strtotime($start) …

Member Avatar for diafol
0
187
Member Avatar for jontennyeah
Member Avatar for FUTURECompEng

What is the running time for the following recursive function: pubic static int Sum(int [] a, int start, int end) { if ((end – start) = =0) return a[end]; else { int mid = (end + start) / 2; return (Sum(a, start,mid) + Sum(a,mid+1,end)); } } Can someone please explain …

Member Avatar for FUTURECompEng
0
295
Member Avatar for gotto

I am given the amount of data and the time used. It asks for the time complexity. It is in a Big-O packet Below is the first problem given Algorithm A Data Time 1000 .003 2000 .012 4000 .048 8000 .192 Please explain how to get the time complexity. Thanks!

Member Avatar for gotto
0
390
Member Avatar for Telepot

**Introduction** Starting a website is easy, getting people to visit it is the hard part. I my self love designing and developing sites for fun, which is great because I'm making money from it, which makes it 100000x better! In this small and simple tutorial, I am going to tell …

Member Avatar for Telepot
0
911
Member Avatar for waseem.usman.92

i want a design and develop a web page which will show the current time on the basis of the request. eg if the request of the page is come from dubai then the server automaticaly finds the current time of dubai and writes that time on the page. similarly …

Member Avatar for diafol
0
244
Member Avatar for JavaPrograms
Member Avatar for Akira01

Hello all! First time poster here and I'm looking for a little help figuring out the time complexity of this program. int y; void p(int x) { x = y - 1; y += x; cout << x << " " << y << endl; if (x<3) p(x); cout << …

Member Avatar for Taywin
0
332
Member Avatar for mmcdonald

Sorry people but I'm really struggling with this and I don't know why... but still. I have a stored unix timestamp. [a] I have the current timestamp not in unix format (YYYY-MM-DD HH:MM:SS) [b] I need to: 1) convert the current timestamp [b] into a unix timestamp 2) I need …

Member Avatar for leviathan185
0
270

The End.