我正在以 12 小时格式从 Web 服务获取日期,例如@"2012-11-23 04:46:19.120"。有什么方法可以识别这个时间的天气是上午还是下午?请指导我应该怎么做才能得到正确的结果?
我得到这样的响应字典:
{
address = "22 W 46th St,\nNew York,New York,10036";
"business_name" = "Monster Sushi Midtown";
"con_res_id" = 5940;
"current_date" = "2012-11-23 04:46:19.120";
"deal_description" = "Enjoy Happy Hour with $3 Large Beers & $2 Regular Beers";
}