I'm stepping through my code in NuSphere where $time = time() results in the correct seconds (I think) since 1st Jan 1970 but $CurrentDate becomes inaccurate and often results in 2010-11-23 17:11 where the current GMT was NOT 17:11. What causes this and also where is the time being calculated from on my net connected PC with a local server. I can step through the code 10 minutes later and still it shows 17:11. My Windows clock is correct!! Code below. Thanks.
$CurrentDate=date('Y-m-d H: m');