Subversion Repositories XServices

Rev

Rev 70 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 70 Rev 71
Line 62... Line 62...
62
 
62
 
63
	
63
	
64
	public BigInteger getTimestamp() {
64
	public BigInteger getTimestamp() {
65
		Date d = new Date();
65
		Date d = new Date();
-
 
66
		long l = d.getTime();
-
 
67
		return new BigInteger(Long.toString(l));
-
 
68
	}
66
		long l = d.getTime();
69
	
-
 
70
	public BigInteger getTimestamp2() {
-
 
71
		Date d = new Date();
67
		BigInteger timestamp = new BigInteger(Long.toString(l));
72
		long l = d.getTime()/1000;
Line 68... Line 73...
68
		return timestamp;
73
		return new BigInteger(Long.toString(l));
69
	}
74
	}