pb如何操作日期类型

 我来答
rico1800
2014-05-15 · 超过46用户采纳过TA的回答
知道小有建树答主
回答量:73
采纳率:0%
帮助的人:96.4万
展开全部
不知道你要进行什么操作,下面是PB所有的日期和时间函数,一般都可以满足了
Day The day (an integer between 1 and 31)
DayName The name of the day of the week
DayNumber A number representing the day of the week (for example, Sunday is 1 and Wednesday is 4)
DaysAfter The number of days one date occurs after another
Hour The time from which you want to obtain the hour
Minute The time from which you want to obtain the minutes
Month The month (an integer between 1 and 12)
Now Compare a time to the system time or display the system time on the screen
RelativeDate The date that occurs n days after a given date
RelativeTime The time that occurs n seconds after a given time.
Second The number of seconds in the seconds portion of a given time.
SecondsAfter The number of seconds one time occurs after another.
Today The current system date
Year The year (an integer between 1000 and 3000)
追问
这是方法吗?我就想知道有没像java那种calendar、simpledateformat这类的专门用于时间的api
追答
没有的.PB可以加载外部API函数
本回答被提问者采纳
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式