Announcement

Collapse
No announcement yet.

Code for custom time format

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

  • Code for custom time format

    Ok so with help from staff I was able to change my forums last post time to say "X minutes ago"

    So now I want to change this in a older mod I have. The code is like this....

    Code:
    $gnptime = vbdate('H:i', $gthread[lastpost]);
    What would I change the 'H:i' to get it the same detailed time like X minutes ago?

  • #2
    The detailed time isn't a regular date format. More code is required. If you have some coding ability then you can post on www.vbulletin.org for help with this.

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X