Solved

Converting date/time to date format

Posted on 2013-07-01
7
527 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
 
LVL 5

Expert Comment

by:vguzman
ID: 39290511
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
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

734 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