데이빗의 도스 게임 자료실

한국어

Game Dev

C++

 char szDateFrom[256];
 char szDateTo[256];
 BYTE btDateAll;
 sprintf_s(szDateFrom, "%4d-%02d-%02d", tmStart.GetYear(), tmStart.GetMonth(), tmStart.GetDay());
 sprintf_s(szDateTo, "%4d-%02d-%02d", tmEnd.GetYear(), tmEnd.GetMonth(), tmEnd.GetDay());
 

SQL

 

 SELECT COUNT(*) FROM WT_purchase
 WHERE  market = @iMarket AND item = @iItem AND [date] between CAST(@szDateFrom as datetime ) and CAST(@szDateTo as datetime )+1

 

 

 

SELECT CONVERT (DATE, '2014-12-16')
           , CONVERT (DATE, '2014/12/16')
           , CONVERT (DATE, '20141216')
           , CONVERT (DATETIME, '2014-12-16')
           , CONVERT (DATETIME, '2014-12-16 15:10:01')

--결과 1 : 2014-12-16
--결과 2 : 2014-12-16
--결과 3 : 2014-12-16
--결과 4 : 2014-12-16 00:00:00.000
--결과 5 : 2014-12-16 15:10:01.000

조회 수 :
22306
등록일 :
2016.01.21
15:50:59 (*.82.136.57)
엮인글 :
게시글 주소 :
http://yyartsworld.pe.kr/developer/30699
사진 및 파일 첨부

여기에 파일을 끌어 놓거나 왼쪽의 버튼을 클릭하세요.

파일 용량 제한 : 0MB (허용 확장자 : *.*)

0개 첨부 됨 ( / )
옵션 :
:
:
:
:
List of Articles
번호 제목 글쓴이 조회 수 추천 수 비추천 수 날짜
51 UE5.5 IOS 패키징시 멈출때 관리자 1268     2026-01-19
 
50 splitpath 대체 std::filesystem::path 관리자 1444     2025-12-13
 
49 UE5 포커스 잃었을때 Viewport Framerate 관리자 2437     2025-02-04
 
48 Warning: unable to build chain to self-signed root for signer file 관리자 2839     2024-03-26
 
47 UE4 Gradle 버전 설정 관리자 3177     2023-05-11
 
46 UE4 - Accept SDK License 관리자 5385     2023-04-30
 
45 MYSQL ODBC 일정시간 후 커넥션이 lost 된다면 관리자 10040     2021-12-18
 
44 MYSQL ODBC Set Max Connection 관리자 50780     2021-10-05
 
43 Could not determine java version from '12.0.1' 관리자 33799     2021-07-16
 
42 MySQL DB 백업및 복원 관리자 19694     2020-12-02
 
41 UE4 MacOS Generate Xcode Project 안될때 관리자 25788     2020-08-27
 
40 Visual C++ Release 빌드에서 디버그 하기. 관리자 10077     2020-04-10
 
39 바이너리를 스트링으로 변환 관리자 11091     2019-06-04
 
38 Reflection vector file 관리자 116519     2019-02-28
 
37 Provisioning Profile location 관리자 25179     2018-07-10
 
36 UE4 How to deploy my app on IOS device without paying the $99 Apple developer program. 관리자 71105     2018-06-23
 
35 C++ printf() 64bit int, hex 관리자 55788     2018-06-12
 
34 JNI GetMethodID, GetStaticMethodID signature example 관리자 39108     2018-06-12
 
33 Visual C++ - Object file created with an older compiler than other objects 관리자 53224     2018-05-31
 
32 소켓옵션 SO_LINGER 에 대해 관리자 19412     2018-05-26