Retrieving Current Time Frame From EA

 
Is there a way to retrieve the current time frame in minutes with an EA?  I tried using PERIOD_CURRENT but it only returns zero.
 

Yes call 

Period();
Reason: