mirror of
				https://github.com/casdoor/casdoor.git
				synced 2025-10-31 17:37:50 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			158 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			158 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package util
 | |
| 
 | |
| import "time"
 | |
| 
 | |
| func GetCurrentTime() string {
 | |
| 	timestamp := time.Now().Unix()
 | |
| 	tm := time.Unix(timestamp, 0)
 | |
| 	return tm.Format(time.RFC3339)
 | |
| }
 | |
| 
 | 
