Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Thread Tools Display Modes
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
Old 12-25-2016, 07:24 PM
GeoWink GeoWink is offline
Senior Member
Join Date: Jan 2001
Posts: 880

TD := DateToStr(Now);

TD is a string...

Reply With Quote

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 11:42 AM.

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