Announcement

Collapse
No announcement yet.

$gdate

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Dan615
    replied
    PHP Code:
    $gdate date("F.d.Y g:i A"time() + (60 60 3) ); 
    The lower case g makes it 12 hour time

    Leave a comment:


  • express
    replied
    megahard,
    It works but since we made change now it operates on a 24 hour clock versus a 12 hour clock need 12 hour clock back.

    Leave a comment:


  • express
    replied
    Thank you works great!

    Joey

    Leave a comment:


  • megahard
    replied
    PHP Code:
    $gdate date("F.d.Y G:i A"time() + (60 60 3) ); 

    Leave a comment:


  • express
    started a topic $gdate

    $gdate

    $gdate = date("F.d.Y G:i A"); this works but when the time is posted it shows say like 7 am when it should show 10 am how do I add 3 hours to it?
    Last edited by express; Sun 11 Aug '02, 7:09am.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X