Index: wp-includes/link-template.php
===================================================================
--- wp-includes/link-template.php	(revision 11001)
+++ wp-includes/link-template.php	(working copy)
@@ -286,7 +286,7 @@
 function get_year_link($year) {
 	global $wp_rewrite;
 	if ( !$year )
-		$year = gmdate('Y', time()+(get_option('gmt_offset') * 3600));
+		$year = gmdate('Y', current_time('timestamp'));
 	$yearlink = $wp_rewrite->get_year_permastruct();
 	if ( !empty($yearlink) ) {
 		$yearlink = str_replace('%year%', $year, $yearlink);
@@ -308,9 +308,9 @@
 function get_month_link($year, $month) {
 	global $wp_rewrite;
 	if ( !$year )
-		$year = gmdate('Y', time()+(get_option('gmt_offset') * 3600));
+		$year = gmdate('Y', current_time('timestamp'));
 	if ( !$month )
-		$month = gmdate('m', time()+(get_option('gmt_offset') * 3600));
+		$month = gmdate('m', current_time('timestamp'));
 	$monthlink = $wp_rewrite->get_month_permastruct();
 	if ( !empty($monthlink) ) {
 		$monthlink = str_replace('%year%', $year, $monthlink);
@@ -334,11 +334,11 @@
 function get_day_link($year, $month, $day) {
 	global $wp_rewrite;
 	if ( !$year )
-		$year = gmdate('Y', time()+(get_option('gmt_offset') * 3600));
+		$year = gmdate('Y', current_time('timestamp'));
 	if ( !$month )
-		$month = gmdate('m', time()+(get_option('gmt_offset') * 3600));
+		$month = gmdate('m', current_time('timestamp'));
 	if ( !$day )
-		$day = gmdate('j', time()+(get_option('gmt_offset') * 3600));
+		$day = gmdate('j', current_time('timestamp'));
 
 	$daylink = $wp_rewrite->get_day_permastruct();
 	if ( !empty($daylink) ) {
Index: wp-includes/general-template.php
===================================================================
--- wp-includes/general-template.php	(revision 11001)
+++ wp-includes/general-template.php	(working copy)
@@ -1098,7 +1098,7 @@
 			echo "\n\t</tr>\n\t<tr>\n\t\t";
 		$newrow = false;
 
-		if ( $day == gmdate('j', (time() + (get_option('gmt_offset') * 3600))) && $thismonth == gmdate('m', time()+(get_option('gmt_offset') * 3600)) && $thisyear == gmdate('Y', time()+(get_option('gmt_offset') * 3600)) )
+		if ( $day == gmdate('j', current_time('timestamp')) && $thismonth == gmdate('m', current_time('timestamp')) && $thisyear == gmdate('Y', current_time('timestamp')) )
 			echo '<td id="today">';
 		else
 			echo '<td>';
