Hi NB Team.
I cant seem to convert a formatted date into Julian format
the date format works with dd/mm/yy but wont work with dd/mmm/yy
please any explanations
Date To Num
Moderator: Neosoft Support
- HackinHoodLogicsTm
- Posts: 131
- Joined: Wed Aug 28, 2013 7:03 am
- Location: Ghana
- Contact:
Re: Date To Num
HackinHoodLogicsTm:
But you can write your own subroutine to change months like Jan, Feb, .... Dec to 01, 02 ... 12 ... and then pass the result to DateToNum.
From the Help file ...the date format works with dd/mm/yy but wont work with dd/mmm/yy
... I do not see support for "month in text" format.The date must match the format parameter below.
format
A string that identifies the format of the date. For example:
m/d/y
Month/Day/Year
d/m/y
Day/Month/Year
y/m/d
Year/Month/Day
Default
Use the system’s default date format.
But you can write your own subroutine to change months like Jan, Feb, .... Dec to 01, 02 ... 12 ... and then pass the result to DateToNum.
- HackinHoodLogicsTm
- Posts: 131
- Joined: Wed Aug 28, 2013 7:03 am
- Location: Ghana
- Contact:
Re: Date To Num
Thanks Gaev.
Exactly what am doingBut you can write your own subroutine to change months like Jan, Feb, .... Dec to 01, 02 ... 12 ... and then pass the result to DateToNum.