File size: 231 Bytes
02c783d
 
 
 
 
 
1
2
3
4
5
6
7
# Copyright(C) [2025] Advanced Micro Devices, Inc. All rights reserved.
import datetime

def get_time():
    # Get the current time in the format YYYY-MM-DD_HH-MM-SS
    return datetime.datetime.now().strftime("%Y-%m-%d_%H-%M-%S")