Imagine knowing the current time (hh:mm:ss) without the date, but you're certain it's today:
12:34:56
Additionally, you know that the time is in the CST timezone (UTC +0800). Your goal is to obtain a timestamp based on this time.
If we consider the present UTC time as 2014/08/25 17:10:00 and CST as 2014/08/26 01:10:00 (UTC +0800), indicating that CST is already on the next day. Therefore, using something like this won't work:
var d = new Date().toJSON().slice(0,10);
// "d" returns "2014-08-25" in local time -> this is incorrect
The objective is to convert:
1:10 (CST) --> to 2014/08/25 17:10 (UTC) or its corresponding timestamp 1408986600
Is it possible to determine the complete date-time or timestamp when having knowledge of only the time and timezone?