Hello dear friends,
i needed a help in php...suppose a user buys a service on my site and that service is for 30 days, so i just wanted to know that how to calculate expiration time (unix) from the date they purchased service...plz explain with example code...
thanx
Search Result
Collapse
6 results in 0.0041 seconds.
Keywords
Members
Tags
-
Need Help in Calculating Unix Start time and End time.
-
oracle.sql.TIMESTAMP Vs java.sql.Timestamp
Hi All,
I have ercently migrated my project on the WAS6 which is utilizing the below configuration:
WebSphere Platform 6.1 [BASE 6.1.0.2 cf20633.22] running with process name LNGDAYV-0000493Node01Ce ll\LNGDAYV-0000493Node01\s erver1 and process id 4812
Host Operating System is Windows XP, version 5.1 build 2600 Service Pack 3
Java version = J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32 j9vmwi3223-20060504 (JIT... -
subtract time. Day is same
How can i subtract time? the day remains the same. i just need to subtract two time.
Date = 2011-04-26 Starttime = 12:39:53 Endtime = 14:34:28
now i need to calculate the time difference between Endtime and Starttime.
Thanks -
Format store hours in PHP from MySQL timestamp
Hi,
I am struggling to find a methodology for formatting the store hours for a restaurant that I am developing a simple CMS for. I am using codeIgniter, but it's sort of irrelevant.
Basically, the restaurant owner has a page in his administration section where they can enter their store hours into a form. These hours are stored as timestamps in MySQL. What I want is to format the store hours like they are typically... -
Format system time to milliseconds in VBA
I found I needed this recently when creating a file which had to be uploaded by ftp. The file extension was a timestamp of hhnnssms and the ms part was formatted to 4 digits. As the Now() function doesn't return milliseconds I used the following function to calculate it.
Code:Option Compare Database Option Explicit Private Type SYSTEMTIME wYear As Integer wMonth As Integer wDayOfWeek
-
check if variable value is timestamp
Hello all,
I am using a script to export database values to xls. I am using an if statement to check if the value is numeric and has a length of ten digits. My problem is that when I extract the valaues from the the timestamp then the phone numbers whcih are also 10 digit lenthg numbers are also covnerted to dates! the numbers may only start with 2 or 6 and have ten digits but I am not sure that if I check with preg_match whehter...