Search Results

Search: Posts Made By: Neo
5,424
Posted By Neo
Actually, you do not even need to convert to a...
Actually, you do not even need to convert to a unix timestamp in PHP, you can use your formatted time string directly:

For example, I just tested your example data with your formatted time :
...
5,424
Posted By Neo
If it was me, who processes text files with PHP,...
If it was me, who processes text files with PHP, I would do something like this:

use the PHP date (https://www.php.net/manual/en/function.date.php) function, like so:

date(h,$timestamp);

//...
5,424
Posted By Neo
What have you tried? What scripts have you...
What have you tried?

What scripts have you written?

What are you attempts to process this file yourself?
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 08:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy