PHP - time time converted by time zone hours and days

HAVE THE SOLUTION

A person enters a form with; day, month, year, and submit´s.

This gives the word Place of birth info

By submitting these data, the user will receive new info:

1. the day of the week associated with each date

2 a special for each date

(1 and 2 have a lot more, but I think that not necessary for this ex in)

I created the table:

Calendar (for the 100 years) which also has answers to the column for 1 and 2 above for each date

It is then INSERTED etc. for a user table and works perfectly on the next page that users see.

WANT THE SOLUTION

But I also have a more advanced option that I call more precise

In this form (new shape) the user must enter: minute, hour, day, month, year and country and submit.

Here, the user wants to obtain more precise info from the day of the week and it can be + or - an associated day to where they were born on the globe.

A. the time zone 0 - this is Myanmar.

B. (DayInMinutes) table has a column for each day in a few minutes. Ex Thursday is 5760

C. a table (time zones) has each country (124) in a few minutes, associated with the 0-zone schedule. Ex. Norway is 330, USA (PST) is 870, and New Zealand is - 270 (New Zealand is ahead)


So when users enter their data above, I already know B and C of these tables.

But now comes the part I don't know still Don t .

How to add numbers of table b of the table in C and then use this number to determine what day it is actually more precise.

(table DaysInMinutes also have columns with every minute, the hour, the sum of these etc, every day. So if I get the sum of the tables above (B and C), e.g. 5983, this table will determine exactly which is Thursday min 43 and 03 h)

QUESTION

I read David powers Php Solutions... c. 14 and so I know it's probably very simple. But...

(there are probably easier ways to do it. But, as my knowledge of php is only a few weeks, I just use my mind to set up these things. So, please answer this first way 'roundabout'. Because WHEN you're working, I can easily 'peal the union' later)

Can someone tell me how I can do this in PHP?

Thank you, David.

I will be so just figure it myself.

Richard

Tags: Dreamweaver

Similar Questions

  • Problem converting from minutes to hours and minutes

    Hello

    I have a problem with this sql, the locations of this sql is to convert minutes to hours and minutes, for example, as you can see, I'm trying to convert 125 minutes in hours and minutes, so the result I get is 2.5 but it should be of 2.05

    If you have an idea how I could get the result to the format: 2.05 which means two hours and 5 minutes?

    It's my sql:
    Select trunc(125/60) || '.' || (125 - TRUNC(125/60)*60) result FROM dual;
    Thanks and greetings
    Carlos
    Select trunc(125/60) || '.' || lpad(mod(125,60),2,'0') result FROM dual;
    
    RESU
    ----
    2.05
    
    SQL> 
    

    SY.

  • I use thunderbird in the New Zealand House and time zone settings, and when I invite people NZ for a new event it automatically creates a calendar for UTC entry

    I bought my computer laptop to the United Kingdom and installed Thunderbird there initially, but remains in NZ and reset home location and time zone accordingly. However, when I send invites to an event it resets the invite calendar for the recipient to UTC/GMT. My record of entry and invite calendar still shows what I entered in, but not their end. And it's the same thing in reverse, they send me something for 15:00, I get like 03:00.

    ... to restore the original location and time zone accordingly.

    Where exactly did you do that?

  • Time zone - local and remote server are different

    Hello

    DW CS4.

    My computer and I are in PST and my host is in MST.  When a file is transferred to the remote server, the server gives the timestamp of the local MST.  By example, if I save a file at 5:30, my time and my transfer it immediately, on the remote server it will show 06:30 p.

    QUESTION: This time zone difference will create a problem for DW when turning or synchronization?  FileZilla has an adjustment to account for the difference, but I don't see a framework like that in DW.

    Thank you.

    John

    DW synchronizes local and remote filestamps with precision in different time zones via an XML file: dwsync.xml in a folder hidden _notes.

    It seems to work well most of the time (and you do not normally need to worry) that problems sometimes arise if dwsync.xml files is corrupt, but if you delete it, DW will be re - build it.

    See here for more information:

    Synchronize the files on your sites the remote and

    http://help.Adobe.com/en_US/Dreamweaver/10.0_Using/WSc78c5058ca073340dcda9110b1f693f21-7EA 4a.html

    The problems of synchronization in Dreamweaver CS4

    http://kb2.Adobe.com/CPS/405/kb405835.html

  • my pc clock keep time in hours and minutes. The box is checked to address the DST. What else could be?

    I have windows xp.  My clock keeps losing time in minutes.  I continue to challenge and continues to waste time.  I know that this is not because of the DST.  I have the box checked to change daylight saving time.  I've updated.  Nothing works.

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-performance/the-clock-wont-keep-the-current-time/dff4a031-12f8-412d-9a58-3fecc3ea3120

    There are a few solutions in the thread above, most saying that your battery needs to be replaced.

    For instructions on how to replace the battery or look in the manual of your pc if you go to your manufacturers Web site.

  • How many times by hours and age a SIM card needed to be replaced?

    My iPhone 6 s touch keyboard is often hit and Miss, a replacement of SIM card would be required?... When is it appropriate to change/replace a used an iPhone of 1st year?

    The SIM card is to connect to cellular networks, it has nothing to do with the touch screen or keyboard. Nothing will ever replace a SIM card unless the card itself is faulty, or your carrier it disabled.

  • convert seconds value in hours and minutes

    Hi all

    I mean the second value entered & I want to convert to hh: mmS format... How can I proceed?

    Please guide me.

    Thank you.

    You don't say what this "input" is, but if you want to display on the front panel, all you have to do is the following:

  • Converter failed after 20 hours and 60% done

    I use the Converter 4.0.1 build-161434 on a Vista Ultimate 64 bit machine trying to create a virtual machine image for the player to an XP pro machine. The two machines are connected via a router. I am creating the VM image on the Vista machine.

    The status indicates FAILURE: System error found during surgery

    The newspaper highlights, I see "error: impossible to clone the volume 'D:'.» (this is the 3rd of 4 disks - 2 other drives ended cloning of messages).

    I am including the newspapers. I looked at the newspapers but can't find anything that makes sense to me.

    Thanks for any help.

    John.

    Try this.

    Reboot your vista computer.

    Clone just the base os disk.

    Then use robocopy to copy the remaining disks.

    According to my experience, I have seen converter fail if a service or a file is open and that you do not find a specific volume shadow snapshot of the drive.

    Stop all unnecessary services.

  • How can I stop Windows Live Messenger issuing alerts every minutes, hours and days of the year? I don't use it.

    I do not use Windows Live Messenger, but he insists on the display of alerts telling me to connect. Why it does this and how can I stop without causing problems in other areas? I know nothing about it except that the people who try to contact me (I guess) can do it without going through channels such as email or telephone.

    I do not use Windows Live Messenger, but he insists on the display of alerts telling me to connect. Why it does this and how can I stop without causing problems in other areas? I know nothing about it except that the people who try to contact me (I guess) can do it without going through channels such as email or telephone.

    I assume you have Windows Live Messenger, because you have installed the Windows Live Essentials.
    If so, a brief explanation...
    Windows Live Essentials includes some programs that can be installed or NOT, must be installed. You can choose whoever you want.

    Now, you have 2 options...

    1. you can disable. He will remain in the system but inactive.

    2. you can purely and simply uninstall it, and it will be out of the system.

    RE: Disable Messenger
    Open MSN Messenger > at the top, click on tools > click Options > column to the left, click on Sign In > straight column, uncheck all boxes > click OK done wnhen.

    RE: Uninstall Messenger

    Start button > in the search box, type programs and features > press the Enter key. Scroll down to Windows Live Essentials > right click it > click on uninstall...
    Follow the guests but be careful to screen > it will ask you what program to uninstall. Select Windows Live Messenger. Follow the prompts.

    You can check out this tutorial:
    http://www.dkszone.NET/uninstall-remove-Windows-Live-Messenger-How-to

  • Photoshop is right for hours and days without download... CC downloaded in about 5 minutes. What can I do differently

    I am not very computer savvy, but I know something. My internet speed is 72.0 Mbps and CC downloaded and installed in 15 minutes. I tried to connect LAN and disable the firewall, but nothing it speeds up. Any suggestions?

    Brentm50218020, start the installation process for CC in Photoshop or Photoshop CC 2014 thanks to the Creative Cloud Desktop application.  The current web browser begins the installation process.

    You can find more details on how to install the Adobe Creative applications, included with your membership, to install and update apps - https://helpx.adobe.com/creative-cloud/help/install-apps.html.

  • Vista has the GMT + 1 time zone of West Africa, but it does not exist?

    Vista has the GMT + 1 time zone of West Africa, but it does not exist?

    Google does not, and is not on this list of African zones.
    Thank you
    (I couldn't find a topic in the drop-down below).

    Hello

    http://www.timetemperature.com/Africa/africa_time_zones.shtml

    TIME ZONE HOURS AFRICA

    Africa uses six time zones. From West to East, time zones in Africa are Cape Verde time (GMT - 1), Greenwich Mean Time (GMT + 0), West Africa Time (GMT + 1), Africa Central time (GMT + 2), East Africa Time (GMT + 3) and time Mauritius and Seychelles, which are all two (GMT + 4).

    Daylight Saving Time (DST) is not used in most of Africa. However, the countries of Egypt, the Morocco, Namibia and Western Sahara respect Daylight Saving Time. Tunisia and Western Sahara ended the use of DST in 2009. The dates of beginning and end of summer time are different in each of the three African countries

  • Get all time zones with offSet

    I am the all time zones hourly, but without lag.

    I want all time zones with OffSet.

    What I can do.

    I have found no way, so I myself conducted with a custom method.

    Thanks to you all.

  • Necessary to define the database time zone differs from the OS

    We have a database of who currently resides in New York. Let's move to another server that resides in London. This is a problem, because each date which is currently in the time base is New York time, but after the move, all the new data that created time will always be time to London. We do not want users to have to remind any date preceding the date of move, will idle 5 hours if we would like to do is to have the database always on time in New York despite the BONE being London time. The server will be shared with other applications for the operating system time zone will have to remain with London time. The database will only have data for our application. So is there a setting of database that we can use to set the time zone database is different from the operating system time zone? The database is currently 10 GB but is promoted as part of the move to 11 g.

    What is the data type of the column? If the date or timestamp, then there is no time zone stored with the data. If timestamp with time zone, then the time zone of the data remains the same regardless of the time zone database and operating systems.

    SQL> select dbtimezone from dual;                    
    
    DBTIME
    ------
    -05:00                                               
    
    SQL> alter database set time_zone='EST';             
    
    Database altered.
    
  • to try to correct the time zone schedule probs w/xp

    I'm trying my timezone and it won't work, or if it's hard to find exactly the right download. I live in the area (Florida) Eastern time and my clock is off. as now, the actual time is 15:11 and my comp says 02:49. How can I fix? {Furthermore, I'm not comp wiz, simple terms would help a lot... haha: 0}

    Hi imsukr8zee,

    Thank you for visiting the community Microsoft Windows XP.  To change the time on your computer, follow these steps:

    1. right click on the time located on the right side of your screen.

    2. Select Adjust Date/time.

    3. click the time zone tab and make sure the correct time zone is selected.

    4. click on the Internet time tab and make sure that there is a check in the automatically synchronize with a time server Internet and the box Server time.windows.com.

    5. click on update now if changes have been made.

    6. click apply and then OK.

    Please let us know if this helped.

    Dena
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Time zone on my different Khvan e-mail to my computor

    My husband & I share the same pc.

    I was checking the "recent account security activity" on my husbands email & on my email.

    The pc has the correct area date/time.

    My husband time zone, date and time is correct (EAST)

    Mine is set to (GMT) & not accurate for my timezone

    I can't work on how to change to the EAST

    Hello

    Thanks for posting your query to the Microsoft forum. I will definitely help you with this.

    1. Is what email account?
    2. Is - this Outlook.com/Hotmail account or you are referring to any e-mail application?

    If you count Hotmail/outlook, try the following steps:

    1. click on the wheel {top-right}
    2. go to the e-mail settings more
    3. click on account management
    4. click on Details of the account (password, address, time zone)
    5. in the account summary
    6 change the personal information {under date of birth}
    7. go home
    8. set the time zone

    Let us know if you need more assistance. We will be happy to help you.

    ____________________

    Thank you best regards &,.

    Isha Soni

Maybe you are looking for