Jump to content

Change in Date function


Recommended Posts

I used to have code that read:   @vm=date(i);   which ran fine 8 years ago.

At some point, this started giving an error message, that while the letter i was assumed to be the text string 'i', this would no longer be supported in future versions of php.

Changing it to   @vm=date('i');   fixed the problem.

Link to comment
Share on other sites

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.   Paste as plain text instead

  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.

Loading...
 Share

  • Forum Statistics

    16.7k
    Total Topics
    179.2k
    Total Posts
  • Recently Browsing

    No registered users viewing this page.

  • Upcoming Events

    No upcoming events found
  • Recent Event Reviews

×
×
  • Create New...