Jump to content

Recommended Posts

I cant figure out how to add $recieved into this

needs to take place of time

hope someone knows how to do this

what im doing is adding in the UNIX time i want to offset

 

 

 <?php $offset = date('m/d/Y/H:i:s', time()+$send1['time_offset']); ?> 

Link to comment
https://forums.phpfreaks.com/topic/253740-adding-a-variable-in-the-date-function/
Share on other sites

I can never understand the manual cause it talks like this

 

an example:

 

Procedural style only: A DateTime object returned by date_create(). The function modifies this object.

 

how can a noob even comphrend that

I can never understand the manual cause it talks like this

 

an example:

 

Procedural style only: A DateTime object returned by date_create(). The function modifies this object.

 

how can a noob even comphrend that

It's up to you, of course... You have just 3 possibilities: (1) you will understand manuals or (2) you will pay to somebody who will teach you or (3) forget about programming. Nobody will explain you information from manuals (I mean first of all repeating of the information that is written in the manuals).

It's not so difficult to understand it :) Read text, try to make an example. I know what I'm talking about. Many years ago I started to learn programming, it was language C. English is not my native language, I learn it and programming in the same time. And I know that manuals are the best sources of information.

Forum can help you but it don't substitute manuals.

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.