Jump to content

UNIX time


reazik

Recommended Posts

Help!

I'm still working on creating a job bulletin for my company and I'm a newbie, so it's not easy.

I want each job to reflect the last date it was updated. Fortunately, there's already an SQL entry that does that for me, but it comes up as UNIX time.

Here's the code I'm using:

<table width="90%">
<tr valign="top" {ALTERNANCE}>
<td width="30" class="style1"><a href="details.php?id={JOB_ID}" class="style2">{JOB_NAME_TITLE}</a></td>
<td width="60" align="center" class="style1">{JOB_DATE}</td>
<td width="200" class="style1">{JOB_LOCATION_TITLE}</td>
<td width="210" colspan="2" class="style1">{JOB_SUMMARY}</td>
</tr>
</table>

(look at [a href=\"http://psninc.net/forms/JobBulletin2/list.php\" target=\"_blank\"]http://psninc.net/forms/JobBulletin2/list.php[/a] for results)

How do I "translate" the {JOB_DATE} into a 0-00-0000 format?

P.S. When I tried to change the number in myPHPAdmin from an integer to a date, it got rid of all of the data, so I don't want to do that again.

Is my question clear enough? Or do I need to provide more information.

Waiting with baited breath....

Thank you in advance for any guidance you can give me...
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.