Hi sherin francis
If I am sure, what I understood...
You have to write a class or a global function for your specific requirement by useing
Date2Str(date,321,2,2,2,2,2), here 321 -> indicate the date formating. (Year,month,day). Here 2,2), the first 2 indicate the '-' parameter. as you require YYYY-MM-DD
I think this may help you.
Thankx
Somnath Jana (India)
sherin francis <[EMAIL PROTECTED]> wrote:
Hi group,
Is there any function which checks the format of the date field...?
Suppose i have a date field which i want the user to enter only in this manner YYYY-MM-DD
Incase the user enters it in a different manner ... say.. DD-MM-YYYY , I should be able to validate that date field and issue an error if it isn't in the required format.
Any help will be greatly appreciated.
Regards,
Sherin
---------------------------------
Blab-away for as little as 1ยข/min. Make PC-to-Phone Calls using Yahoo! Messenger with Voice.
[Non-text portions of this message have been removed]
Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends.
SPONSORED LINKS
Business finance course Business to business finance Small business finance Business finance consultant Business finance magazine Business finance schools
---------------------------------
YAHOO! GROUPS LINKS
Visit your group "Axapta-Knowledge-Village" on the web.
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
---------------------------------
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
[Non-text portions of this message have been removed]
Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends.
SPONSORED LINKS
Business finance course | Business to business finance | Small business finance |
Business finance consultant | Business finance magazine | Business finance schools |
YAHOO! GROUPS LINKS
- Visit your group "Axapta-Knowledge-Village" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.