hi everyone, im new here and am in desperate need of help. I want to convert my 32 bit unix time stamp ' 45d732f6' into a readable format (Sat, 17 February 2007 16:53:10 UTC) using c++.
I have looked around the interent but i just cant make sense of anything. All examples i can find just... (3 Replies)
hi,
i have heard that date and time stamp are stored somewhere in unix as an interger.
suppose May 20 07:05:59 is stored as 12342234
can anyone tell me where to find this integer. (9 Replies)
Hello,
I am inside a awk script on AIX, I am feeding to awk ls -luNR
i need to convert ls -u time format "month day h:m/yr" to Unix epoch time, POSIX time, or aka unix timestamp
I do not have strftime funk in my awk, and i have to do this fast meaning that I cannot do a system call in the... (1 Reply)
How would I convert a unix timestamp such as "1232144092" to a readable date such as "1/16/2009 10:14:28 PM" ?
I thought I could use date, but I don't think so now.. Any help would be great!! (4 Replies)
Hi,
is there a way to get unix time from timestamp using date function in unix/
OS: SunOS 5.10
input : 2012-07-26 15:00:00
output: 1343314800Thanks in advance (6 Replies)
Hello ,
I am working on AIX. I have to convert Unix timestamp to normal timestamp. Below is the file. The Unix timestamp will always be preceded by
EFFECTIVE_TIME as first field as shown and there could be multiple EFFECTIVE_TIME in the file : 3.txt
Contents of... (6 Replies)
Discussion started by: rahul2662
6 Replies
LEARN ABOUT PHP
http_cache_last_modified
HTTP_CACHE_LAST_MODIFIED(3) 1 HTTP_CACHE_LAST_MODIFIED(3)http_cache_last_modified - Caching by last modificationSYNOPSIS
bool http_cache_last_modified ([int $timestamp_or_expires])
DESCRIPTION
Attempts to cache the sent entity by its last modification date.
If the supplied argument is greater than 0, it is handled as timestamp and will be sent as date of last modification. If it is 0 or omit-
ted, the current time will be sent as Last-Modified date. If it's negative, it is handled as expiration time in seconds, which means that
if the requested last modification date is not between the calculated timespan, the Last-Modified header is updated and the actual body
will be sent.
A log entry will be written to the cache log if the INI settinghttp.log.cache is set and the cache attempt was successful.
Note
This function may be used in conjunction with http_send_data(3), http_send_file(3) and http_send_stream(3).
PARAMETERS
o $timestamp_or_expires
- Unix timestamp
RETURN VALUES
Returns FALSE or exits on success with 304 Not Modified if the entity is cached. See the INI settinghttp.force_exit for what "exits"
means.
EXAMPLES
Example #1
A http_cache_last_modified(3) example
Caching for 5 seconds.
<?php
http_cache_last_modified(-5);
printf("%s
", http_date());
?>
SEE ALSO http_cache_etag(3), the HttpResponse class if you are using PHP 5.1.0 and above.
PHP Documentation Group HTTP_CACHE_LAST_MODIFIED(3)