You can subscribe to this list here.
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(6) |
Oct
(6) |
Nov
(8) |
Dec
(2) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2005 |
Jan
(19) |
Feb
(15) |
Mar
(10) |
Apr
(8) |
May
(7) |
Jun
(9) |
Jul
(13) |
Aug
(31) |
Sep
(111) |
Oct
(52) |
Nov
(72) |
Dec
(42) |
| 2006 |
Jan
(21) |
Feb
(32) |
Mar
(33) |
Apr
(24) |
May
(15) |
Jun
(40) |
Jul
(32) |
Aug
(19) |
Sep
(38) |
Oct
(37) |
Nov
(63) |
Dec
(37) |
| 2007 |
Jan
(18) |
Feb
(39) |
Mar
(69) |
Apr
(49) |
May
(71) |
Jun
(59) |
Jul
(71) |
Aug
(85) |
Sep
(46) |
Oct
(14) |
Nov
(25) |
Dec
(56) |
| 2008 |
Jan
(24) |
Feb
(77) |
Mar
(104) |
Apr
(44) |
May
(41) |
Jun
(11) |
Jul
(31) |
Aug
(59) |
Sep
(44) |
Oct
(86) |
Nov
(66) |
Dec
(93) |
| 2009 |
Jan
(88) |
Feb
(41) |
Mar
(49) |
Apr
(135) |
May
(22) |
Jun
(31) |
Jul
(60) |
Aug
(71) |
Sep
(76) |
Oct
(18) |
Nov
(52) |
Dec
(20) |
| 2010 |
Jan
(8) |
Feb
(50) |
Mar
(35) |
Apr
(48) |
May
(46) |
Jun
(84) |
Jul
(38) |
Aug
(61) |
Sep
(51) |
Oct
(31) |
Nov
(17) |
Dec
(18) |
| 2011 |
Jan
(51) |
Feb
(14) |
Mar
(17) |
Apr
(23) |
May
(15) |
Jun
(11) |
Jul
(5) |
Aug
(5) |
Sep
(15) |
Oct
(8) |
Nov
(5) |
Dec
(25) |
| 2012 |
Jan
(2) |
Feb
(4) |
Mar
(6) |
Apr
(9) |
May
(27) |
Jun
(32) |
Jul
(36) |
Aug
(10) |
Sep
(16) |
Oct
(3) |
Nov
(13) |
Dec
(7) |
| 2013 |
Jan
(1) |
Feb
(4) |
Mar
|
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(4) |
Oct
(2) |
Nov
(1) |
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
(2) |
Apr
(1) |
May
(2) |
Jun
(9) |
Jul
(5) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
|
Dec
|
| 2015 |
Jan
(3) |
Feb
(2) |
Mar
(4) |
Apr
(3) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
(5) |
Oct
(1) |
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(5) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
| 2017 |
Jan
(6) |
Feb
|
Mar
|
Apr
(10) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
| 2018 |
Jan
(2) |
Feb
(5) |
Mar
|
Apr
|
May
(1) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
| 2021 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2023 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
1
(4) |
2
(4) |
3
(6) |
4
(4) |
5
|
|
6
(1) |
7
(1) |
8
(5) |
9
|
10
|
11
|
12
(5) |
|
13
(4) |
14
(2) |
15
(3) |
16
(1) |
17
(1) |
18
(3) |
19
|
|
20
|
21
(1) |
22
(1) |
23
(2) |
24
(11) |
25
(1) |
26
(1) |
|
27
|
28
|
29
(5) |
30
(1) |
31
(4) |
|
|
|
From: <php...@li...> - 2007-05-12 21:48:37
|
Jost, On the linux platform, I need to start the standalone client twice to change java status. The first time, I started it. java -Djava.library.path=3D/usr/local/lib/php/extensions/no-debug-non-zts-2005= 0 922 -Djava.class.path=3D/usr/local/lib/php/extensions/no-debug-non-zts-200509= 2 2/JavaBridge.jar -Djava.awt.headless=3Dtrue -Dphp.java.bridge.base=3D/usr/local/lib/php/extensions/no-debug-non-zts-2= 0 050922 php.java.bridge.Standalone LOCAL:@java-bridge-50ab 5 /usr/local/log/bridge.log @@java-bridge-50ab JavaBridge log: /usr/local/log/bridge.log I checked the java status, it was 'not running' I then, start standalone client the second time,=20 java -Djava.library.path=3D/usr/local/lib/php/extensions/no-debug-non-zts-2005= 0 922 -Djava.class.path=3D/usr/local/lib/php/extensions/no-debug-non-zts-200509= 2 2/JavaBridge.jar -Djava.awt.headless=3Dtrue -Dphp.java.bridge.base=3D/usr/local/lib/php/extensions/no-debug-non-zts-2= 0 050922 php.java.bridge.Standalone LOCAL:@java-bridge-50ab 5 /usr/local/log/bridge.log system error: could not bind socket: Address already in use @9267 JavaBridge log: /usr/local/log/bridge.log=20 On the second time, although I got system error: Address already in use, the java status changed to 'running' Ps -ef | grep java --> I saw two identical standalone clients were running. Also, I deployed my app jars under /usr/local/lib/php/extensions/no-debug-non-zts-20050922/ and also log4j.properties under the same directory. In my app jars, I had codes logging and tracing data, but I could not find these logging data. Could you let me know how to I log data to the file bridge.log. Best regards, Joe |
|
From: <php...@li...> - 2007-05-12 20:39:17
|
Thanks for the prompt reply, Jost.
The issue I am facing with is that time() or gmmktime() returns unix
timestamp with just 10 digits e.g. 1178999783 whereas, java timestamp is
expecting 13 digits. Assume time() returned 1178999783, I believe this
php line=20
Java('java.sql.Timestamp', time());
Is equivalent to this line in java
new Timestamp(0001178999783);
As the result, the timestamp became incorrect on my back end server.
My temporary resolution was to multiply whatever returned by php time()
by 1000. What is your suggestion?
Thanks=20
-----Original Message-----
From: php...@li...
[mailto:php...@li...] On Behalf
Of php...@li...
Sent: Saturday, May 12, 2007 10:30 AM
To: php...@li...
Subject: Re: [Php-java-bridge-users] php to java timestamp
Hi,
> $startDate =3D new Java('java.sql.Timestamp',
> gmmktime(0,0,0,10,3,2007));
> $endDate =3D new Java('java.sql.Timestamp', time());
> 1970-01-14 10:56:09.6
> 1970-01-14 07:29:12.32
depending on what gmmktime() and time() return, the
above results are correct. Both, time() and gmmktime()
must return a java.lang.long, a 64bit value
representing the seconds since some time in the
history. Please see the sql.Timestamp API
documentation for details.
Regards,
Jost Boekemeier
__________________________________ Yahoo! Clever - Der einfachste
Weg, Fragen zu stellen und Wissenswertes mit Anderen zu teilen.
www.yahoo.de/clever
------------------------------------------------------------------------
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
php-java-bridge-users mailing list
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
|
|
From: <php...@li...> - 2007-05-12 17:45:13
|
> must return a java.lang.long, a 64bit value
One can create such a java.lang.long value with e.g.:
new java("java.lang.Long", "14098922");
or
java("java.lang.System")->currentTimeMillis();
Regards,
Jost Boekemeier
__________________________________ Kennt man wirklich jeden über 3 Ecken? Die Antworten gibt's bei Yahoo! Clever. www.yahoo.de/clever
|
|
From: <php...@li...> - 2007-05-12 17:30:03
|
Hi,
> $startDate = new Java('java.sql.Timestamp',
> gmmktime(0,0,0,10,3,2007));
> $endDate = new Java('java.sql.Timestamp', time());
> 1970-01-14 10:56:09.6
> 1970-01-14 07:29:12.32
depending on what gmmktime() and time() return, the
above results are correct. Both, time() and gmmktime()
must return a java.lang.long, a 64bit value
representing the seconds since some time in the
history. Please see the sql.Timestamp API
documentation for details.
Regards,
Jost Boekemeier
__________________________________ Yahoo! Clever - Der einfachste Weg, Fragen zu stellen und Wissenswertes mit Anderen zu teilen. www.yahoo.de/clever
|
|
From: <php...@li...> - 2007-05-12 07:18:44
|
Could someone suggest how to convert php timestamp to java timestamp?
This was how I created timestamp on php page
$startDate =3D new Java('java.sql.Timestamp', =
gmmktime(0,0,0,10,3,2007));
echo (String) $startDate;
$endDate =3D new Java('java.sql.Timestamp', time());
echo "<br>";
echo (String) $endDate;
The following timestamps displayed on the browser
1970-01-14 10:56:09.6
1970-01-14 07:29:12.32
And on the server sides, java stimestamp displayed=20
1970-01-14 10:56:09.6
1970-01-14 07:29:13.872
The year was 1970. =20
|