Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Converting date/time to date format

Posted on 2013-07-01
7
Medium Priority
?
533 Views
Last Modified: 2013-07-06
I have a field which is set to date/time
I want to convert it to date only
what formulae do i use

Gordon
0
Comment
Question by:GiaHughes
  • 3
  • 3
7 Comments
 
LVL 5

Expert Comment

by:vguzman
ID: 39290509
right click on the field, choose 'date and time' field, then select a date format you like
0
 

Author Comment

by:GiaHughes
ID: 39290581
Hi
I know about the formating etc
I would like to create a formulae something like:

ToDate ({WO.REQUESTDATE})

The current field {WO.REQUESTDATE} is set to date/time and I want it set to Date

Gordon
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 

Accepted Solution

by:
GiaHughes earned 0 total points
ID: 39290597
Found it
CDate ({WO.REQUESTDATE})
0
 
LVL 5

Expert Comment

by:vguzman
ID: 39290607
if your datatime is a formula then use

ToText({MyDate}, "dd-MMM-yyyy") or something similar

if your datetime is a field I suggest you to use other format option
0
 
LVL 26

Expert Comment

by:Kurt Reinhardt
ID: 39290639
Do you intend to use your formula for display or in the record selection criteria?  If you use it in the record selection criteria then it won't be passed to the database server for processing.  How are you going to use the formula?
0
 

Author Closing Comment

by:GiaHughes
ID: 39303699
found the answer
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question