247 Topics
|
|
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 … |
|
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 … |
|
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. |
|
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. |
|
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 … |
|
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. … |
|
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 … |
|
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 … |
|
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 … |
|
Time complexity of the expression T(n)=3T(n/2)+Ɵ(n)? Please solve.. |
|
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 … |
|
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 … |
|
What is complexity to insert, delete, and search in both sorted and unsorted linked list (single, double.. doesn't matter in general) ? |
|
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. |
|
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... |
|
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 … |
|
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 |
|
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 … |
|
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. … |
|
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 |
|
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 = … |
|
` <? 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) … |
|
hello. how i put a real time clock in my form ? thank you |
|
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 … |
|
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! |
|
**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 … |
|
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 … |
|
How do I put the following output in a table format as shown below in the code? |
|
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 << … |
|
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 … |
The End.