Jquery $.get get method not working
	<html>
	<head>
	<script type="text/javascript" src="jquery.js"></script>
	</head>
	<body>
	<script type="text/javascript">
	var currenttime;
	function getDateInfo()
	{	
		$.get("time.php?a=" + Math.random() , function(data) {
			return data;
		});
		
	}
	currenttime = getDateInfo();
	alert(currenttime);
	</script>
	</body>
	</html>
	/**************file time.php contains following code************/
	<?php
		echo "August 27, 2011 19:30:52";
	?>

Hello friends , please help why this code is not working..
Jquery $.get get method not working
===

	<html>
	<head>
	<script type="text/javascript" src="jquery.js"></script>
	</head>
	<body>
	<script type="text/javascript">
	var currenttime;
	function getDateInfo()
	{	
		$.get("time.php?a=" + Math.random() , function(data) {
			return data;
		});
		
	}
	currenttime = getDateInfo();
	alert(currenttime);
	</script>
	</body>
	</html>
	/**************file time.php contains following code************/
	<?php
		echo "August 27, 2011 19:30:52";
	?>

Hello friends , please help why this code is not working..