Getting the batch that falls from thread is one way that you can clear the correct daily lot
More information about text formats
Getting the batch that falls from thread is one way that you can clear the correct daily lot