FireLordZi Posted February 13, 2008 Share Posted February 13, 2008 I'm about to use this function and I wanted to know if there was a way (besides changing my computer settings) to change the format the date comes out in. i.e: yyyymmdd Thanks, FireLord While Alive() { DrinkWine(); }AutoIt Programmer Link to comment Share on other sites More sharing options...
Tomb Posted February 14, 2008 Share Posted February 14, 2008 I'm about to use this function and I wanted to know if there was a way (besides changing my computer settings) to change the format the date comes out in. i.e: yyyymmddThanks,FireLordi think the _DateTimeFormat function might be what your looking for look it up in the helpfile Link to comment Share on other sites More sharing options...
FireLordZi Posted February 14, 2008 Author Share Posted February 14, 2008 (edited) Never mind, just found the right function in the helpfile. Edit: Just saw your post, and yes that could work but I'm going to use _NowCalcDate :) Edited February 14, 2008 by FireLordZi While Alive() { DrinkWine(); }AutoIt Programmer Link to comment Share on other sites More sharing options...
Achilles Posted February 14, 2008 Share Posted February 14, 2008 Do mean like this? #include<Date.au3> Msgbox(0, '', _NowDateX()) Func _NowDateX() $temp = _NowDate() $temp = StringSplit($temp, '/') Return $temp[3] & '/' & $temp[1] & '/' & $temp[2] EndFunc My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
GaryFrost Posted February 14, 2008 Share Posted February 14, 2008 $sDate = @YEAR & @MON & @MDAY SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now