473,659 Members | 3,553 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to get German Time while placing an order through an application

245 New Member
hey all,
I need to get the German Time while placing an order through my application. My application is hosted in USA so it get USA Server time while placing an order so that i want it take german time. How can i do that in php. Kindly help me out to sort out my problem. I will be very grateful to him/her.


kind regards,
Mohsin Rafique
Oct 13 '09 #1
2 1696
zorgi
431 Recognized Expert Contributor
Try this:

Expand|Select|Wrap|Line Numbers
  1. date_default_timezone_set('Europe/Berlin');
  2.  
http://php.net/manual/en/function.da...mezone-set.php
Oct 13 '09 #2
neovantage
245 New Member
Thank you very much,
It works
Oct 13 '09 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1086
by: Heiko Wundram | last post by:
Hi all! Me and a couple of IRC-addicts have decided to hold regular Python-Workshops on IRC, especially oriented towards beginners and intermediate programmers, who have not used Python before, or are just beginning to pick up Python. These workshops will be held in #python.de on irc.freenode.net, and as the channel name suggests, will be held in german. Why I'm posting here is simply the fact that I thought that some people might ...
6
5608
by: peter pilsl | last post by:
postgres 7.3.2 I store unicode-data in postgresql. The data is retrieved via webinterfaces, processed with perl and then stored in postgresql (and viceversa). All is going nice with one problem. If performing a "select * order by field"-query the result is not what I expected. German umlauts (ie: Ö) are stored as doublechars ("Ö" is "Ö") and only the first char seems to be taken into account when sorting.
0
1577
by: Jean | last post by:
Hi everyone, Can someone help me please? I am using a form which imports a .csv file's data into a temporary table called tblQuestImport_csvraw. The problem is that I am working with a German character set here - whenever I import some text with those special characters, I get the wrong data in my temporary table. For example, ä becomes ÷, ö becomes an o with a little stripe above it, and ü becomes the sign used for expressing a value...
2
1350
by: Peter | last post by:
In a VBA-Application for a english excel version, ich have the following line: ihelp location = cbr.Controls("Help").index I have to run this application with a german excel version and then this line causes trouble. I tried to change the line to ihelp location = cbr.Controls("Hilfe").index
0
2096
by: Markus Wollny | last post by:
Hi! Sorry to bother you, but I just don't know how to get tsearch2 configured correctly for my setup. I've got a 7.4.3 database-cluster initdb'ed with de_DE@euro as locale, the database is with Unicode encoding. I made and installed contrib/tsearch2 after installing the dump/reload-patch http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/regprocedure_7.4.patch.gz as advised by the docs. So far everything is looking good, I have...
7
1462
by: shwetu | last post by:
If i place vb and cs class files together in App_Code in asp.net 2.0 i get error that i can't place as they us a different language which is not allowed as they have to be complied together. Is there any solution???
8
8842
by: DierkErdmann | last post by:
Hi ! I know that this topic has been discussed in the past, but I could not find a working solution for my problem: sorting (lists of) strings containing special characters like "ä", "ü",... (german umlaute). Consider the following list: l = For sorting the letter "Ä" is supposed to be treated like "Ae", therefore sorting this list should yield
10
5562
by: Martin | last post by:
Hi all, When a user enters a german character in a textbox (such as ö ä ü ß) and I try to save it, these characters get converted to a different character. How can I prevent this? Tia, Martin
3
2674
by: raghulvarma | last post by:
Consider the following scenario. Currently a .Net application is used to generate reports. The end user needs the reports twice in a day.So he runs the application at scheduled time for report generation. Now the client wants to automate this process such that the application should become a scheduled task at the desired time of the client.That is, the client need not run the application every time he needs. When the IIS starts, the application...
0
8428
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8337
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8851
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8748
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8531
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7359
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6181
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4175
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4335
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.