I want the date function to return values in seconds or minutes for a day instead of just 0 to 23 (using the "G" format).
Like so:
0 to 1440 (one whole day by the minutes)
0 to 86400 (one whole day by the seconds)
For example between 7:16 am to 7:46 am, variable = 12. The "G" format is inadequate for this.
Any ideas?
