#NEWLINE# def _silk_date_time( dt ) : #NEWLINE# #INDENT# today = timezone . now ( ) . date ( ) #NEWLINE# if ( dt . date ( ) == today ) : #NEWLINE# #INDENT# dt_strftime = dt . strftime ( '%H:%M:%S.%f' ) #NEWLINE# return _process_microseconds ( dt ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return _process_microseconds ( dt . strftime ( '%Y.%m.%d %H:%M.%f' ) )