|   | 
	 
  
    | 
RSS Feed - WebSphere MQ Support
 | 
RSS Feed - Message Broker Support
 |   
 
  
	     | 
	 | 
   
 
  
	|  Logging the date | 
	« View previous topic :: View next topic »  | 
   
  
  	
	  
		
		
		  | Author | 
		  Message
		 |  
		
		  | Bharat | 
		  
		    
			  
				 Posted: Tue Jun 18, 2002 4:52 am    Post subject: Logging the date | 
				     | 
			   
			 
		   | 
		 
		
		    Acolyte
 
 Joined: 14 May 2002 Posts: 61 Location: Reston, VA, USA 
  | 
		  
		    
			  
				Hello,
 
 
Using 'CURRENT_TIMESTAMP' function, we can log the time in the trace node of MQSI. But this function doesn't log the date. Is there anyway to log the date also?
 
 
Thanks in advance,
 
Bharat | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | kirani | 
		  
		    
			  
				 Posted: Tue Jun 18, 2002 7:27 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   Jedi Knight
 
 Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA 
  | 
		  
		    
			  
				CURRENT_TIMESTAMP returns both date and time in CCYY-MM-DD HH:MM:SS.msec format. 
 
For example,
 
2002-06-14 17:55:28.828 _________________ Kiran
 
 
 
IBM Cert. Solution Designer & System Administrator - WBIMB V5
 
IBM Cert. Solutions Expert - WMQI
 
IBM Cert. Specialist - WMQI, MQSeries
 
IBM Cert. Developer - MQSeries
 
 
 | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | TorpedoSTu | 
		  
		    
			  
				 Posted: Tue Jun 18, 2002 7:28 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   Acolyte
 
 Joined: 14 Nov 2001 Posts: 73
  
  | 
		  
		    
			  
				Try ${CURRENT_GMTDATE}, ${CURRENT_GMTTIME} if you're UK
 
or   ${CURRENT_DATE), ${CURRENT_TIME}
 
 
Regs
 
 
Stuart | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | Bharat | 
		  
		    
			  
				 Posted: Wed Jun 19, 2002 8:47 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Acolyte
 
 Joined: 14 May 2002 Posts: 61 Location: Reston, VA, USA 
  | 
		  
		    
			  
				Kiran and Stuart, Thanks a lot...
 
 
-Bharat | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | 
		    
		   | 
		 
	   
	 | 
   
 
  
	     | 
	 | 
	Page 1 of 1 | 
   
 
 
 
  
  	
	  
		
		  
 
  | 
		  You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
  | 
  		 
	   
	 | 
   
 
  	 | 
	  |