my_time
2024-01-15 本文已影响0人
xueyueshuai
#!/usr/bin/python3
import datetime
def my_print(some_value):
print(some_value, type(some_value))
my_print(datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S'))
my_print(datetime.datetime.now().strftime('%s'))
my_print(123)