add get_datetime
This commit is contained in:
		
							parent
							
								
									2e20fb9557
								
							
						
					
					
						commit
						2c0e292ce0
					
				@ -0,0 +1,3 @@
 | 
			
		||||
from .utils import get_datetime
 | 
			
		||||
 | 
			
		||||
__all__ = ["get_datetime"]
 | 
			
		||||
							
								
								
									
										6
									
								
								common_lib/utils/utils.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								common_lib/utils/utils.py
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,6 @@
 | 
			
		||||
from datetime import datetime, timezone
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def get_datetime():
 | 
			
		||||
    utc_now = datetime.now(timezone.utc)
 | 
			
		||||
    return utc_now
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user