完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨AllI需要按顺序排序一堆日期。
12 / May / 2007格式。 现在我知道我可以编写一个排序函数来排序第一年,然后按年份按月排序。 最后结识他们。 但是,如果有人知道如何在Gsec中转换上述格式,那将会很容易。我可以按升序排序并转换回来,既简单又容易。 以前有人这么做过吗?Simon 以上来自于谷歌翻译 以下为原文 Hi All I need to sort a load of dates in order. 12/May/2007 format. Now I know I can write a sort function to sort first year then all that year by month then date. Finally concat them. But what would be easy if someone knew how to convert the above format in Gsec’s The I could just sort by ascending order and convert back nice and easy. Anyone done it before? Simon |
|
相关推荐
3个回答
|
|
“Simon Parfitt”写道:>大家好> >>>我需要按顺序排序一堆日期。
12 / May / 2007格式。 现在我>知道我可以写一个排序函数来排序第一年然后那一年>按月然后日期。 最后结识他们。 但是,如果有人知道如何在Gsec中转换上述格式,那将会很容易。我可以>按升序排序并转换回来,既简单又容易。 以前有人这么做过吗?>>好老“从干”到救援。 使用“from string”将您的日期转换为内部时间格式(“from string”中的“时间戳格式”),进行排序,然后转换回来。请注意,首先要以时间戳格式节省时间的真正优势 是你不需要来回转换.regardsStan ------------------------------------ -------------------------------------- Stan Bischof安捷伦科技公司707-577-3994 stan_bischof @ agilent .COM ------------------------------------------------ -----------------------------您目前订阅了vrf:hua_jing@agilent.com要订阅,请发送电子邮件至: “vrf-request@lists.it.agilent.com”,邮件正文中有“subscribe”字样。要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。要向此发送邮件 邮件列表,请发送电子邮件至“vrf@agilent.com”。如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“http”中搜索“非官方vrf档案” ://www.vrfarchive.com/vrf_archive” .Search 安捷伦vrf存档位于“http://vee.engineering.agilent.com”。 以上来自于谷歌翻译 以下为原文 "Simon Parfitt" wrote: > Hi All > > > > I need to sort a load of dates in order. 12/May/2007 format. Now I > know I can write a sort function to sort first year then all that year > by month then date. Finally concat them. But what would be easy if > someone knew how to convert the above format in Gsec's The I could > just sort by ascending order and convert back nice and easy. Anyone done it before? > > Good old "from sring" to the rescue. Use a "from string" to convert your date to internal time format ( "time stamp format" in the "from string ) , do your sort, then convert back. Note that a real advantage of saving times in timestamp format in the first place is that you don't need to convert back and forth. regards Stan -------------------------------------------------------------------------- Stan Bischof Agilent Technologies 707-577-3994 stan_bischof@agilent.com -------------------------------------------------------------------------- --- You are currently subscribed to vrf as: hua_jing@agilent.com To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body. To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com". To send messages to this mailing list, email "vrf@agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive". Search the Agilent vrf archive at "http://vee.engineering.agilent.com". |
|
|
|
“Simon Parfitt”写道:>大家好> >>>我需要按顺序排序一堆日期。
12 / May / 2007格式。 现在我>知道我可以写一个排序函数来排序第一年然后那一年>按月然后日期。 最后结识他们。 但是,如果有人知道如何在Gsec中转换上述格式,那将会很容易。我可以>按升序排序并转换回来,既简单又容易。 以前有人这么做过吗?>>好老“从干”到救援。 使用“from string”将您的日期转换为内部时间格式(“from string”中的“时间戳格式”),进行排序,然后转换回来。请注意,首先要以时间戳格式节省时间的真正优势 是你不需要来回转换.regardsStan ------------------------------------ -------------------------------------- Stan Bischof安捷伦科技公司707-577-3994 stan_bischof @ agilent .COM ------------------------------------------------ -----------------------------您目前订阅了vrf:hua_jing@agilent.com要订阅,请发送电子邮件至: “vrf-request@lists.it.agilent.com”,邮件正文中有“subscribe”字样。要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。要向此发送邮件 邮件列表,请发送电子邮件至“vrf@agilent.com”。如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“http”中搜索“非官方vrf档案” ://www.vrfarchive.com/vrf_archive” .Search 安捷伦vrf存档位于“http://vee.engineering.agilent.com”。 以上来自于谷歌翻译 以下为原文 "Simon Parfitt" wrote: > Hi All > > > > I need to sort a load of dates in order. 12/May/2007 format. Now I > know I can write a sort function to sort first year then all that year > by month then date. Finally concat them. But what would be easy if > someone knew how to convert the above format in Gsec's The I could > just sort by ascending order and convert back nice and easy. Anyone done it before? > > Good old "from sring" to the rescue. Use a "from string" to convert your date to internal time format ( "time stamp format" in the "from string ) , do your sort, then convert back. Note that a real advantage of saving times in timestamp format in the first place is that you don't need to convert back and forth. regards Stan -------------------------------------------------------------------------- Stan Bischof Agilent Technologies 707-577-3994 stan_bischof@agilent.com -------------------------------------------------------------------------- --- You are currently subscribed to vrf as: hua_jing@agilent.com To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body. To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com". To send messages to this mailing list, email "vrf@agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive". Search the Agilent vrf archive at "http://vee.engineering.agilent.com". |
|
|
|
嗨AllThanks。
我觉得这样的muppit !! 我已经使用转换器将Now()转换为100次。 我从来不知道它有两种方式.Simon _____来自:Sanad Manolil Parambil Majid,TLS,Chennai [mailto:sanadm@hcl.in]发送时间:2007年8月24日06:24To:Simon ParfittSubject:RE:[vrf]将日期转换为 nowHi Simon,你在找这个吗?谢谢,Sanad MM _____来自:Simon Parfitt [mailto:parfitt@IceraSemi.com]发送时间:2007年8月24日星期五凌晨1:00:VRFS主题:[vrf]将日期转换为nowHi AllI 需要按顺序对日期加载进行排序。 12 / May / 2007格式。 现在我知道我可以编写一个排序函数来排序第一年,然后按年份按月排序。 最后结识他们。 但是,如果有人知道如何在Gsec中转换上述格式,那将会很容易。我可以按升序排序并转换回来,既简单又容易。 以前有人这么做过吗?Simon ---您目前订阅了vrf:sanadm@hcl.in要订阅,请发送电子邮件至:“vrf-request@lists.it.agilent.com”,并在邮件中添加“subscribe”字样 身体。 要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。 要将邮件发送到此邮件列表,请发送电子邮件至“vrf@agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。 在“http://www.vrfarchive.com/vrf_archive”上搜索“unofficial vrf archive”。 在“http://vee.engineering.agilent.com”上搜索Agilent vrf存档。 ---您目前订阅了vrf:hua_jing@agilent.com要订阅,请发送电子邮件至:“vrf-request@lists.it.agilent.com”,邮件正文中包含subscribe一词。 要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。 要将邮件发送到此邮件列表,请发送电子邮件至“vrf@agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。 在“http://www.vrfarchive.com/vrf_archive”上搜索“unofficial vrf archive”。 在“http://vee.engineering.agilent.com”上搜索Agilent vrf存档。 免责声明:------------------------------------------------ -------------------------------------------------- ---------------------此电子邮件和任何附件的内容是保密的,仅供指定收件人使用。不得 对发起人或HCL或其关联公司承担任何责任。 本电子邮件中提供的任何观点或意见仅为作者的观点或意见,可能不一定反映HCL或其附属机构的观点。任何形式的复制,传播,复制,披露,修改,分发和/或发布此消息 事先得到本电子邮件作者的书面同意是严格禁止的。 如果您错误地接收了此电子邮件,请将其删除并立即通知发件人。 在打开任何邮件和附件之前,请检查它们是否有病毒和缺陷.------------------------------------ -------------------------------------------------- --------------------------------- 以上来自于谷歌翻译 以下为原文 Hi All Thanks. I feel such a muppit!!. I have used the converter to convert from Now() to date 100’s of times. I just never knew it worked both ways. Simon _____ From: Sanad Manolil Parambil Majid, TLS, Chennai [mailto:sanadm@hcl.in] Sent: 24 August 2007 06:24 To: Simon Parfitt Subject: RE: [vrf] converting date to now Hi Simon, Are you looking for this? Thanks, Sanad MM _____ From: Simon Parfitt [mailto:parfitt@IceraSemi.com] Sent: Friday, August 24, 2007 1:00 AM To: VRF Subject: [vrf] converting date to now Hi All I need to sort a load of dates in order. 12/May/2007 format. Now I know I can write a sort function to sort first year then all that year by month then date. Finally concat them. But what would be easy if someone knew how to convert the above format in Gsec’s The I could just sort by ascending order and convert back nice and easy. Anyone done it before? Simon --- You are currently subscribed to vrf as: sanadm@hcl.in To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body. To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com". To send messages to this mailing list, email "vrf@agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive". Search the Agilent vrf archive at "http://vee.engineering.agilent.com". --- You are currently subscribed to vrf as: hua_jing@agilent.com To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body. To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com". To send messages to this mailing list, email "vrf@agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive". Search the Agilent vrf archive at "http://vee.engineering.agilent.com". DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. ----------------------------------------------------------------------------------------------------------------------- |
|
|
|
只有小组成员才能发言,加入小组>>
1226 浏览 0 评论
2348 浏览 1 评论
2159 浏览 1 评论
2024 浏览 5 评论
2905 浏览 3 评论
970浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
703浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
803浏览 0评论
1226浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-24 10:38 , Processed in 1.422827 second(s), Total 82, Slave 65 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号