In Pig, I have a statement which basically appends the date to my generated values.
Data = FOREACH Input GENERATE (CurrentTime()),FLATTEN(group), COUNT(guid)
If you are using Pig 0.12 or later, you can use ToString(CurrentTime(),'yyyy-MM-dd')
You can use any datetime type instead of CurrentTime()
Refer to http://pig.apache.org/docs/r0.12.0/func.html#to-string for date time formats.