Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 12-25-2016, 05:50 PM
Atarimark Atarimark is offline
Junior Member
 
Join Date: Jan 2015
Posts: 18
Default Basic question on date formatting

I am trying to figure out why using ThisDate := Now; is returning:

a value of : 42729.4785490394

I know I'm supposed to stay away from FormatSetting. so I am not formatting this correctly?

I've played around with it and cannot seem to figure out how to get the date to show as d/m/yyyy or anything resembling a date.
Reply With Quote
  #2  
Old 12-25-2016, 07:24 PM
GeoWink GeoWink is offline
Senior Member
 
Join Date: Jan 2001
Posts: 878
Default

TD := DateToStr(Now);

TD is a string...

George
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 12:52 AM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2017, vBulletin Solutions, Inc.