|
-
Oct 8th, 2009, 12:32 PM
#1
Thread Starter
Addicted Member
[RESOLVED] hwo to show only date
fro example i have 10/09/2009 and 10/08/2009
i need only date 1 which 09-08 = 1
how dto do that
-
Oct 8th, 2009, 01:12 PM
#2
-
Oct 8th, 2009, 01:15 PM
#3
Thread Starter
Addicted Member
Re: hwo to show only date
Myday1 = TODAY() - Myday
Myday1.NumberFormat = "0"
-
Oct 8th, 2009, 01:19 PM
#4
Re: hwo to show only date
Go through my previous post once again
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Oct 8th, 2009, 04:45 PM
#5
Thread Starter
Addicted Member
Re: hwo to show only date
i tried this way. it is not coming the integer part
=datediff("dd",TODAY()-C20)
but i dont have time i have only date.
but it is not coming. could you help me
-
Oct 8th, 2009, 04:56 PM
#6
Thread Starter
Addicted Member
Re: hwo to show only date
assume c20 has date for example 10/5/2009
-
Oct 8th, 2009, 05:04 PM
#7
Thread Starter
Addicted Member
Re: hwo to show only date
i tried this way. it is not coming the integer part
=datediff("dd",TODAY()-C20)
but i dont have time i have only date.
but it is not coming. could you help me
-
Oct 8th, 2009, 05:06 PM
#8
Re: hwo to show only date
Do you want to use it as a formula in a worksheet or in vba?
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Oct 8th, 2009, 05:09 PM
#9
Thread Starter
Addicted Member
Re: hwo to show only date
kool thansk for helpint me
in vba
-
Oct 8th, 2009, 05:10 PM
#10
Re: hwo to show only date
In VBA
MsgBox DateDiff("d", Range("C20").Value, Now)
In Excel WorkSheet
=DATEDIF(C20,TODAY(),"d")
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Oct 8th, 2009, 05:14 PM
#11
Thread Starter
Addicted Member
Re: hwo to show only date
now shows the date and time
and c20 value has only date
how it will give date as integer part. coudl you explain.
-
Oct 8th, 2009, 05:16 PM
#12
Thread Starter
Addicted Member
Re: hwo to show only date
it shows integer numbe rof 40094
i need the differnce of the date
-
Oct 8th, 2009, 05:29 PM
#13
Thread Starter
Addicted Member
Re: hwo to show only date
ITS WORKING GREAT. THANSK kool!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|