UberCMS Timestamp to Date

Results 1 to 8 of 8
  1. #1
    Valued Member MedinaJoshua is offline
    MemberRank
    Oct 2009 Join Date
    inetpub/wwwrootLocation
    114Posts

    happy UberCMS Timestamp to Date

    Can anyone help me to change this :
    Code:
    			Registered: <b>' . clean($member['account_created']) . '<br /></b>
    and this :

    Code:
    Last Online: ' . clean($member['last_online']) . '<br />
    So this is the result : Screenshot by Lightshot


  2. #2
    Gaby is offline
    MemberRank
    Apr 2013 Join Date
    Viva HollandiaLocation
    1,607Posts

    Re: UberCMS Timestamp to Date

    Change:
    clean($member['account_created'])

    To:
    clean(date('d-m-Y', strtotime($member['account_created'])));

    Change:
    clean($member['last_online'])

    To:
    clean(date('d-m-Y', strtotime($member['last_online'])));

    If you prefer another date notation, just switch up the d, m and Y.

  3. #3
    Proficient Member GlobeCMS is offline
    MemberRank
    Jul 2012 Join Date
    189Posts

    Re: UberCMS Timestamp to Date

    If you want the hour minutes and second add after Y in the '' H:i:s if I do not wrong


    Inviato dal mio iPhone utilizzando Tapatalk

  4. #4
    Valued Member MedinaJoshua is offline
    MemberRank
    Oct 2009 Join Date
    inetpub/wwwrootLocation
    114Posts

    Re: UberCMS Timestamp to Date

    Quote Originally Posted by Gaby View Post
    Change:
    clean($member['account_created'])

    To:
    clean(date('d-m-Y', strtotime($member['account_created'])));

    Change:
    clean($member['last_online'])

    To:
    clean(date('d-m-Y', strtotime($member['last_online'])));

    If you prefer another date notation, just switch up the d, m and Y.
    Quote Originally Posted by MedinaJoshua View Post
    Last Online: ' . clean(date('d-m-Y', strtotime($member['account_created']))); . '
    To this one? it doesnt work

    - - - Updated - - -

    Quote Originally Posted by Gaby View Post
    Change:
    clean($member['account_created'])

    To:
    clean(date('d-m-Y', strtotime($member['account_created'])));

    Change:
    clean($member['last_online'])

    To:
    clean(date('d-m-Y', strtotime($member['last_online'])));

    If you prefer another date notation, just switch up the d, m and Y.
    Nvm it worked now anyways do u know how to fix the time and date ? Registered: 31-12-1969 Its 1969

  5. #5
    :joy: Jonteh is offline
    MemberRank
    Apr 2007 Join Date
    New York, USALocation
    3,375Posts

    Re: UberCMS Timestamp to Date

    Quote Originally Posted by MedinaJoshua View Post
    To this one? it doesnt work

    - - - Updated - - -



    Nvm it worked now anyways do u know how to fix the time and date ? Registered: 31-12-1969 Its 1969
    1969 being an incorrect timestamp.

  6. #6
    Valued Member MedinaJoshua is offline
    MemberRank
    Oct 2009 Join Date
    inetpub/wwwrootLocation
    114Posts

    Re: UberCMS Timestamp to Date

    Quote Originally Posted by Jonteh View Post
    1969 being an incorrect timestamp.
    Can you help me sir with teamviewer your the creator of it :D

    - - - Updated - - -

    Bump.

    - - - Updated - - -

    Bump.

  7. #7
    Valued Member Troll Hotel is offline
    MemberRank
    Nov 2012 Join Date
    SlovakiaLocation
    144Posts

    Re: UberCMS Timestamp to Date

    Quote Originally Posted by MedinaJoshua View Post
    Can you help me sir with teamviewer your the creator of it :D

    - - - Updated - - -

    Bump.

    - - - Updated - - -

    Bump.
    There is nothing he can help you with ;p it just means that the timestamp in the database was incorrect.
    just try creating a new account and copy paste the account_created timestamp :p

  8. #8
    Valued Member MedinaJoshua is offline
    MemberRank
    Oct 2009 Join Date
    inetpub/wwwrootLocation
    114Posts

    Re: UberCMS Timestamp to Date

    Quote Originally Posted by Troll Hotel View Post
    There is nothing he can help you with ;p it just means that the timestamp in the database was incorrect.
    just try creating a new account and copy paste the account_created timestamp :p
    The timestamp is correct format i dont know what to do -_-



Advertisement