/ Published in: PHP
                    
                                        For a complete list of time/date parameters, visit: http://php.net/manual/function.date.php
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
 <?php // Value of how many hours offset from server and local time $hourdiff = "3"; // Offsetting time by seconds $timeadjust = ($hourdiff * 3600); // Format of date which will be displayed // Display the output print ("$currentdate"); ?>
Comments
                    Subscribe to comments
                
                