×
Discuss on Template programming, jBASE programming, Enquiries, No-File enquiry, Enquiry routines, Version, Version routines, Menus, Abbriviations, Creating local reference fields, Fast path enquiries, Creating charts and graphs, Generating Reports, Deal slips, Straight through processing, Multi Company and Multi Book setup, Tabbed screens, Composite Screens, T24 API, etc...
Date formatting in enquiry
- mohancute
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 19
- Thank you received: 0
9 years 6 months ago #18746
by mohancute
Date formatting in enquiry was created by mohancute
I want to display date in DD/MM/YYYY format in an enquiry. So I use in CONVERSION like this:
ICONV D
OCONV D/
The output I got is MM/DD/YYYY.
Can any one tell what I have to do to get this in desired format?
ICONV D
OCONV D/
The output I got is MM/DD/YYYY.
Can any one tell what I have to do to get this in desired format?
Please Log in or Create an account to join the conversation.
- armin
-
- Offline
- Elite Member
-
- “So long - and thanks for all the fish!”
Less
More
- Posts: 300
- Thank you received: 57
- LAKSHMI@123
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
9 years 5 months ago - 9 years 5 months ago #18756
by LAKSHMI@123
Replied by LAKSHMI@123 on topic Date formatting in enquiry
Y.TODAY.DATE = 20160120
Y.CONV = "D4/E"
CALL DIETER.DATE(Y.TODAY.DATE,Y.DATE,Y.CONV)
OUTPUT:
Y.DATE: 20/01/2016
Y.CONV = "D4/E"
CALL DIETER.DATE(Y.TODAY.DATE,Y.DATE,Y.CONV)
OUTPUT:
Y.DATE: 20/01/2016
Last edit: 9 years 5 months ago by LAKSHMI@123.
Please Log in or Create an account to join the conversation.
- Mallika
-
- Offline
- Junior Member
-
Less
More
- Posts: 23
- Thank you received: 2
9 years 5 months ago #18764
by Mallika
Replied by Mallika on topic Date formatting in enquiry
In routine we can follow below format
Y.TODAY.DATE = 20160120
Y.DATE = OCONV(ICONV(Y.TODAY.DATE, 'D'), 'D4/E')
Output:
Y.DATE = 20/01/2016
In Enquiry we can directly give in CONVERSION Field as 'D4/E'
Y.TODAY.DATE = 20160120
Y.DATE = OCONV(ICONV(Y.TODAY.DATE, 'D'), 'D4/E')
Output:
Y.DATE = 20/01/2016
In Enquiry we can directly give in CONVERSION Field as 'D4/E'
Please Log in or Create an account to join the conversation.
- armin
-
- Offline
- Elite Member
-
- “So long - and thanks for all the fish!”
Less
More
- Posts: 300
- Thank you received: 57
9 years 5 months ago #18767
by armin
Replied by armin on topic Date formatting in enquiry
Thank you all for repeating ;-)
Please Log in or Create an account to join the conversation.
- chanthachantha
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
5 years 7 months ago #22488
by chanthachantha
Replied by chanthachantha on topic Date formatting in enquiry
Hello,
How to display as DDDD.
example MONDAY, TUESDAY...
How to display as DDDD.
example MONDAY, TUESDAY...
Please Log in or Create an account to join the conversation.
- VK
-
- Offline
- Platinum Member
-
- Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
Less
More
- Posts: 1209
- Thank you received: 158
Time to create page: 0.039 seconds