function which returns netherlands date and time

Pls someone provide me the code to return current Netherland date and time (both in integer format)Sameer
[119 byte] By [sameer004a] at [2007-11-26 19:57:58]
# 1

> Pls someone provide me the code to return current

> Netherland date and time (both in integer format)

Better yet, have a look at the following so you don't have to depend on others to keep giving you code:

[url=http://www.javaworld.com/jw-12-2000/jw-1229-dates.html]Calculating Java dates: Take the time to learn how to create and use dates[/url]

[url=http://java.sun.com/docs/books/tutorial/i18n/format/simpleDateFormat.html]The Java?Tutorial - Customizing Formats[/url]

[url=http://java.sun.com/docs/books/tutorial/i18n/locale/index.html]The Java?Tutorial - Lesson: Setting the Locale[/url]

[url=http://www.javaalmanac.com/egs/java.text/FormatDate.html]Formatting a Date Using a Custom Format[/url]

[url=http://www.javaalmanac.com/egs/java.text/ParseDate.html]Parsing a Date Using a Custom Format[/url]

~

yawmarka at 2007-7-9 22:53:14 > top of Java-index,Java Essentials,Java Programming...
# 2
thanks for the reply.
sameer004a at 2007-7-9 22:53:14 > top of Java-index,Java Essentials,Java Programming...
# 3
> thanks for the reply.You're welcome! Let us know if you run into any snags.~
yawmarka at 2007-7-9 22:53:14 > top of Java-index,Java Essentials,Java Programming...
# 4
Jos.executeQuery("What time is it?");Although this method is currently broken, in that it only returns "Half past Grolsch."
jverda at 2007-7-9 22:53:14 > top of Java-index,Java Essentials,Java Programming...
# 5

> Jos.executeQuery("What time is it?");

> Although this method is currently broken, in that it

> only returns "Half past Grolsch."

Then maybe you could do this instead:

prometheuzz.executeQuery("What time is it?");

doremifasollatidoa at 2007-7-9 22:53:14 > top of Java-index,Java Essentials,Java Programming...
# 6
> Jos.executeQuery("What time is it?");> Although this method is currently broken, in that it> only returns "Half past Grolsch."Synchronize watches: it's only 0:05pgkind regards,Jos ;-)
JosAHa at 2007-7-9 22:53:14 > top of Java-index,Java Essentials,Java Programming...
# 7

> > Jos.executeQuery("What time is it?");

>

FiveOClockSomewhereException

at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)

at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)

at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)

at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)(Compiled Code)

at com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)(Compiled Code)

at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)(Compiled Code)

at com.microsoft.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown Source)(Compiled Code)

at com.microsoft.jdbc.base.BaseStatement.commonTransitionToState(Unknown Source)(Compiled Code)

at com.microsoft.jdbc.base.BaseStatement.postImplExecute(Unknown Source)(Compiled Code)

at com.microsoft.jdbc.base.BasePreparedStatement.postImplExecute(Unknown Source)(Compiled Code)

at com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown Source)(Compiled Code)

at com.microsoft.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source)(Compiled Code)

at com.microsoft.jdbc.base.BasePreparedStatement.executeQuery(Unknown Source)

This error is sporadic, occasionally accompanied by a "GrolschNotFoundException".

kevjavaa at 2007-7-9 22:53:14 > top of Java-index,Java Essentials,Java Programming...
# 8

> > > > Jos.executeQuery("What time is it?");

> >

>

> > FiveOClockSomewhereException

> at

> t

> com.microsoft.jdbc.base.BaseExceptions.createException

> (Unknown Source)

> at

> t

> com.microsoft.jdbc.base.BaseExceptions.getException(Un

> known Source)

> at

> t

> com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErr

> orToken(Unknown Source)

> at

> t

> com.microsoft.jdbc.sqlserver.tds.TDSRequest.processRep

> lyToken(Unknown Source)(Compiled Code)

> at

> t

> com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.process

> ReplyToken(Unknown Source)(Compiled Code)

> at

> t

> com.microsoft.jdbc.sqlserver.tds.TDSRequest.processRep

> ly(Unknown Source)(Compiled Code)

> at

> t

> com.microsoft.jdbc.sqlserver.SQLServerImplStatement.ge

> tNextResultType(Unknown Source)(Compiled Code)

> at

> t

> com.microsoft.jdbc.base.BaseStatement.commonTransition

> ToState(Unknown Source)(Compiled Code)

> at

> t

> com.microsoft.jdbc.base.BaseStatement.postImplExecute(

> Unknown Source)(Compiled Code)

> at

> t

> com.microsoft.jdbc.base.BasePreparedStatement.postImpl

> Execute(Unknown Source)(Compiled Code)

> at

> t

> com.microsoft.jdbc.base.BaseStatement.commonExecute(Un

> known Source)(Compiled Code)

> at

> t

> com.microsoft.jdbc.base.BaseStatement.executeUpdateInt

> ernal(Unknown Source)(Compiled Code)

> at

> t

> com.microsoft.jdbc.base.BasePreparedStatement.executeQ

> uery(Unknown Source)

>

>

> This error is sporadic, occasionally accompanied by a

> "GrolschNotFoundException".

Obviously your watch is broken or your fridge is empty; what a mess ...

kind regards,

Jos ;-)

JosAHa at 2007-7-9 22:53:14 > top of Java-index,Java Essentials,Java Programming...