[SOLVED] Converting DATE field to MMYYYY integer to be used in comparison
I have a Date field (DD/MM/YYYY) and need to convert it to MMYYYY as an integer (ex. 01/31/2012 to 012012) to be used in a comparison with another MMYYYY date.This message has been edited. Last edited by: Kathleen Butler,
relative_date displays as a formatted date in the original format (DD/MM/YYYY), but it can be used to sort records into date order. (Its internal value is the offset, in days, from some standard base date.)