如果出发时间是08:00:00 AM,那么在出发时间4小时前取消机票,那么乘客可以在04:00:00 AM之前取消机票? [英] cancel plane ticket before 4 hours of departure time if dep time is 08:00:00 AM then Passengers can cancel ticket till 04:00:00 AM?

查看:20
本文介绍了如果出发时间是08:00:00 AM,那么在出发时间4小时前取消机票,那么乘客可以在04:00:00 AM之前取消机票?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我有 textbox1 将服务器日期显示为 27-Nov-2010Textbox2 将时间显示为 08:00:00 AM.

If I have textbox1 which display server date as 27-Nov-2010 Textbox2 will display time as 08:00:00 AM.

如果飞机的起飞时间是 Date 27-Nov-2010Time 08:00:00 AM 那么如果他/她想取消机票,它可以取消他们的机票,直到 Date 27-Nov-2010Time 04:00:00 AM.

I want if the departure of the plane is Date 27-Nov-2010 and Time 08:00:00 AM then if he/she wants to cancel ticket, it can cancel their ticket till Date 27-Nov-2010 and Time 04:00:00 AM.

任何人都可以在出发日期/时间的 4 小时前取消他们的机票......

Anybody can cancel their ticket before 4 hour of departure date/time ...

如果出发时间是08:00:00 AM,我想在出发时间前4小时取消机票,那么乘客可以取消机票直到04:00:00 AM?

I want cancel plane ticket before 4 hours of departure time if dep time is 08:00:00 AM then Passengers can cancel ticket till 04:00:00 AM?

我希望在 Vb.net, asp.net (vb)

推荐答案

这里有一些文档供您阅读以开始使用.

Here's some documentation you can read to get started.

http://msdn.microsoft.com/en-us/library/system.datetime(VS.71).aspx

这篇关于如果出发时间是08:00:00 AM,那么在出发时间4小时前取消机票,那么乘客可以在04:00:00 AM之前取消机票?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆