J JAD001 New member Local time Today, 04:17 Joined Jun 18, 2015 Messages 2 Jun 18, 2015 #1 Trying to convert a date in my query to a number. What function will convert 6/17/2015 to 42172? Tried datevalue dateserial
Trying to convert a date in my query to a number. What function will convert 6/17/2015 to 42172? Tried datevalue dateserial
pr2-eugin Super Moderator Local time Today, 12:17 Joined Nov 30, 2011 Messages 8,494 Jun 18, 2015 #2 CDbl is the function. Code: ? CDbl(Date()) 42173 ? CDbl(Now()) 42173.6818402778
C CJ_London Super Moderator Staff member Local time Today, 12:17 Joined Feb 19, 2013 Messages 17,421 Jun 18, 2015 #3 try clng clng(date())
J JAD001 New member Local time Today, 04:17 Joined Jun 18, 2015 Messages 2 Jun 18, 2015 #4 Thanks CDbl and clng both worked. Have to read up on them and why I could not find them. Thanks again!
Thanks CDbl and clng both worked. Have to read up on them and why I could not find them. Thanks again!