LOGic Forum
 » 
LOGic Support
 » 
Form customization
 » 
Trying to insert UTC in terminal keys in log form
 
        
            
            
    
        
Rank: Advanced Member
  Groups: Registered
 Posts: 180  Location: Daytona Beach, Florida Thanks: 48 times Was thanked: 67 time(s) in 62 post(s)
  
 
     | 
    
        
            
	      
                I'm trying to insert the current UTC as part of one of the terminal keys in the Expression Builder. 
  I can insert current local time, QSO time (on/off) but cannot seem to get UTC.
  Was also trying to insert my QTH from LOGic setup. Could not find that variable so I hard coded it. (Not possible for current UTC.)
  Thanks and 73s, Don, W2ZI
  
            
             
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
     | 
            
    
        
            Note: We receive a commission from Amazon when you purchase via this link.  It does not affect your cost.  Thank you! 
 
         
      | 
    | 
     | 
        
            
        
            
            
    
        
Rank: Administration
  Groups: Administrators, Beta Testers Posts: 3,172  Location: Auburn, GA Thanks: 1070 times Was thanked: 520 time(s) in 434 post(s)
  
 
     | 
    
        
            
	      
                Sorry I didn't see this.
  The expression you need is 
  global.utc_time
  It returns a 6-character string.
  global.utc_date 
  returns the current date as type date
  Tnx & 73,
  Dennis WN4AZY
 
 
  
            
             
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
     | 
            
        
    
        
            
            
    
        
Rank: Advanced Member
  Groups: Registered
 Posts: 180  Location: Daytona Beach, Florida Thanks: 48 times Was thanked: 67 time(s) in 62 post(s)
  
 
     | 
    
        
            
	      
                Dennis,   Only had partial success. Both variables work in the Database Commands window: ? MDY(global.utc_date) and  ? global.utc_time
  HOWEVER, only the global.utc_date works in the terminal key macros.
  Putting global.utc_time in the macros is rejected. Also tried several of the time-related functions on it with similar rejections.
  Thanks for the help, 73s, Don 
            
             
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
     | 
            
        
            
        
            
            
    
        
Rank: Administration
  Groups: Administrators, Beta Testers Posts: 3,172  Location: Auburn, GA Thanks: 1070 times Was thanked: 520 time(s) in 434 post(s)
  
 
     | 
    
        
            
	      
                Ok, are you saying that it won't let you enter  global.utc_time   as the expression in log/setup in the terminal keys tab?  
  I had no problem, and tested it and it worked on Telnet. 
            
             
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
     | 
            
        
    
        
            
            
    
        
Rank: Advanced Member
  Groups: Registered
 Posts: 180  Location: Daytona Beach, Florida Thanks: 48 times Was thanked: 67 time(s) in 62 post(s)
  
 
     | 
    
        
            
	      
                Here's the error I get in the form setup. It will still allow me to 'OK' and save the changes. When I hover over the particular T macro, the crashes. Don  
            
             
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
     | 
            
        
    
                           
LOGic Forum
 » 
LOGic Support
 » 
Form customization
 » 
Trying to insert UTC in terminal keys in log form
 
    
        Forum Jump
         
    
    You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.